<SaveButton> uses Ant Design's
<Button> component. It uses it for presantation purposes only. Some of the hooks that refine has adds features to this button.
You can swizzle this component to customize it with the refine CLI
Let's add logic to the
<SaveButton> component with the
saveButtonProps returned by the
useForm hook exposes
saveButtonProps to be passed to the
<SaveButton> component which includes submitting the form action, button loading, and disable states.
hideText is used to hide the text of the button. When its
true, only the button icon will be visible.
<SaveButton> also accepts all props of Ant Design's Button component.