children? | ReactNode | The children to render inside the button. | ButtonProps.children | - |
onSuccess? | () => void | A function to call when the sign-out is successful. | - | - |
pendingLabel? | ReactNode | A label to render when the button state is pending. | - | ButtonProps.pendingLabel |
variant? | ButtonVariant | The variant of the button. Defaults to “primary”. | - | ButtonProps.variant |
asChild? | boolean | Set to true to use a custom element or component in place of the default button element. | - | ButtonProps.asChild |
fullWidth? | boolean | Whether the button should be full width. | - | ButtonProps.fullWidth |
isPending? | boolean | Whether the button state is pending. | - | ButtonProps.isPending |
size? | ButtonSize | The size of the button. Defaults to “md”. | - | ButtonProps.size |