This component is returned by
Settings.useForm().Example
src/app/settings/page.tsx
Props
string
required
The title of the button section.
string
An optional description that provides additional context about what the button does.
string
required
The text of the button.
() => void
required
A function that will be called if the user clicks the button.
'primary' | 'secondary' | 'secondary-destructive' | 'ghost' | 'destructive'
The style of the button.Defaults to
"secondary".