Skip to main content
Props for the EnrollMfaModal component.

See

EnrollMfaModal

Extends

Properties

PropertyTypeDescriptionInherited from
children?ReactNodeIf provided, will render the children instead of the default trigger button.-
open?booleanWhether the modal is open. Note: if you set this, you must also set setIsOpen.-
setIsOpen?(value: boolean) => voidA function to set the modal’s open state. Note: if you set this, you must also set open.-
onEnrollSuccess?() => voidA function to call when the enrollment is successful.Pick.onEnrollSuccess
resetOnSuccess?booleanWhether to reset the enrollment state when the enrollment is successful. Defaults to true.Pick.resetOnSuccess