ForgetDeviceButtonProps
Properties
Section titled “Properties”children?
Section titled “children?”
optionalchildren?:ReactNode
The button’s label. Defaults to “Forget this device”; pass your own for another language.
className?
Section titled “className?”
optionalclassName?:string
confirm?
Section titled “confirm?”
optionalconfirm?:boolean
Ask the organization’s own confirmation question first. Defaults to true.
errorText?
Section titled “errorText?”
optionalerrorText?:string
What to show if forgetting fails. Defaults to an English sentence; pass your own for another language.
onForgotten?
Section titled “onForgotten?”
optionalonForgotten?: (message) =>void
Called with the organization’s wording once the device has been forgotten.
Parameters
Section titled “Parameters”message
Section titled “message”string | null
Returns
Section titled “Returns”void