Export
<ExportButton> is an Ant Design <Button> with a default export icon and a "Export" text. It only has presentational value.
For more information, refer to the
useExportdocumentation β
You can swizzle this component to customize it with the Refine CLI
Usageβ
You can use it like any other Ant Design <Button>.
For example, you can use it with useExport:
Propertiesβ
hideTextβ
hideText is used to hide the text of the button. When its true, only the button icon will be visible.
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 | |
loading | | Set the loading status of button |
It also accepts all props of Ant Design Button.