Version: 4.xx.xx
Swizzle Ready
Save
<SaveButton>
uses Mantine <Button>
component. It uses it for presentation purposes only. Some of the hooks that Refine has adds features to this button.
Good to know:
You can swizzle this component with the Refine CLI to customize it.
Usage
For example, let's add logic to the <SaveButton>
component with the saveButtonProps
returned by the useForm
hook.
localhost:3000/posts/edit/123
Live previews only work with the latest documentation.
Properties
hideText
hideText
is used to show and not show the text of the button. When true
, only the button icon is visible.
localhost:3000
Live previews only work with the latest documentation.
API Reference
Properties
Property | Type | Description | Default |
---|---|---|---|
hideText |
| Whether should hide the text and show only the icon or not. |
|
onClick |
| Sets the handler to handle click event | |
hidden |
| ||
svgIconProps |
|