react-export-excel-fixed
A package based on
React-Export-Excel.
Installation
With
yarn:
``
sh
yarn add react-export-excel-fixed
`
With npm:
`
sh
npm install react-export-excel-fixed --save
`
Code Examples
- Simple Excel Export
- Excel Export with Dataset
- Excel Export with Custom Download Button
- Excel Export with custom cells style
Excel Props
| Prop | Type | Default | Required | Description |
| :------------ | :------------------ | :--------- | :------- | :------------------------------------------------ |
| hideElement | bool
| false | false
| To hide the button & directly download excel file |
| filename | string
| Download | false
| Excel file name to be downloaded |
| fileExtension | string
| xlsx | false
| Download file extension [xlsx] |
| element | HTMLElement
|