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