API
<SheetComponent
dataCfg={dataCfg}
options={options}
header={{ export: { open: true } }}
/>
Attributes | illustrate | type | Defaults | required |
---|---|---|---|---|
open | open component | boolean | false | ✓ |
className | class name | string | ||
icon | display icon | ReactNode | ||
copyOriginalText | Copy original data copy | string | ||
copyFormatText | copy formatted data copy | string | ||
downloadOriginalText | Download the original data copy | string | ||
downloadFormatText | Download formatted data copy | string | ||
successText | Successful operation copy | string | ||
errorText | Operation failure copy | string | ||
fileName | Customize the download file name | string | sheet | |
async | Copy data asynchronously (default is asynchronous) | boolean | false | |
drop down | Dropdown menu configuration, transparently passed to the Dropdown component of antd | DropdownProps |