Skip to main content

<UpdateAccessCodeForm /> (Coming soon!)

The update access code form component allows you to modify an access code.
<UpdateAccessCodeForm accessCodeId={accessCodeId}/>

Props

NameTypeDescription
accessCodeId*stringThe ID for the access code to be updated.
onSuccessfunction

Optional callback fired when an access code is updated.

Signature: (accessCode: AccessCode) => void

onErrorfunction

Optional callback triggered if an error occurs during the update of an access code.

Signature: (err: SeamError, params: UseUpdateAccessCodeParams) => void

onBackfunction

Optional callback fired when the Back chevron button is clicked.

Signature: () => void

classNamestringOptional class name to add to the rendered component’s containing element.