Skip to content

ForgetDeviceButtonProps

optional children?: ReactNode

The button’s label. Defaults to “Forget this device”; pass your own for another language.


optional className?: string


optional confirm?: boolean

Ask the organization’s own confirmation question first. Defaults to true.


optional errorText?: string

What to show if forgetting fails. Defaults to an English sentence; pass your own for another language.


optional onForgotten?: (message) => void

Called with the organization’s wording once the device has been forgotten.

string | null

void