SubmitButton()function
SubmitButton({
children = _SUBMIT_CHILDREN,
strong = true,
color = "primary",
full = true,
...props
}: SubmitButtonProps): ReactElement| Param | Type | |
|---|---|---|
props | SubmitButtonProps | Component props for <SubmitButton>, a form submit button. required |
| Return | |
|---|---|
ReactElement | A <button type="submit"> element bound to the current form. |
Submit button for a form that disables itself and shows a spinner while the form is busy.
- Defaults to strong, full-width, primary styling and a "Save" label.
Examples
<SubmitButton>Save changes</SubmitButton>