Version: 4.xx.xxSwizzle Ready
Import
<ImportButton>
is compatible with the useImport
hook and is meant to be used as it's upload button. It uses Material UI <LoadingButton>
component and native html <input>
element. It wraps a <label>
with a <LoadingButton>
component and <input>
element and accepts it's own properties for separately.
Refer to the for more detailed information about useImport
. β
Swizzle
You can swizzle this component to customize it with the refine CLI
Usageβ
Use it like any other Material UI <LoadingButton>
. You can use it with useImport:
http://localhost:3000/posts
Propertiesβ
hideText
β
It is used to show and not show the text of the button. When true
, only the button icon is visible.
http://localhost:3000
API Referenceβ
Propertiesβ
External Props
It also accepts all props of Material UI LoadingButton.