<CreateAccessCodeForm /> (preview)
The create access code form component allows you to create an access code.Size: Mobile
Props
| Name | Type | Description |
|---|---|---|
| deviceId | string | Optional. The ID for the device for which the access code will be created for. When set, it will skip the device selection pane. |
| onSuccess | function | Optional callback fired when an access code is created. |
| onError | function | Optional callback triggered if an error occurs during the creation of an access code. |
| onBack | function | Optional callback fired when the Back chevron button is clicked. |
| className | string | Optional class name to add to the rendered component’s containing element. |

