Skip to main content
Version: 1.0.5

ExportToExcelButton

@spartanfx/react v1.0.5


@spartanfx/react / ExportToExcelButton

Variable: ExportToExcelButton

const ExportToExcelButton: React.FunctionComponent<IExportToExcelButtonProps>

ExportToExcelButton renders a button that exports structured data to an Excel file. It supports multiple sheets, customizable column labels, and value translation.

Example

<ExportToExcelButton
items={{ Users: userData }}
schema={{ Users: [{ value: 'email', label: 'Email' }] }}
fileName="UserExport"
/>