mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2025-10-16 11:55:39 +00:00
fix wrong story example code
This commit is contained in:
parent
8ecdbf611b
commit
ae34c44547
@ -40,7 +40,13 @@ const columns = [{
|
|||||||
keyField="id"
|
keyField="id"
|
||||||
data={ products }
|
data={ products }
|
||||||
columns={ columns }
|
columns={ columns }
|
||||||
exportCSV
|
exportCSV={ {
|
||||||
|
fileName: 'custom.csv',
|
||||||
|
separator: '|',
|
||||||
|
ignoreHeader: true,
|
||||||
|
noAutoBOM: false,
|
||||||
|
blobType: 'text/csv;charset=ansi'
|
||||||
|
} }
|
||||||
>
|
>
|
||||||
{
|
{
|
||||||
props => (
|
props => (
|
||||||
@ -64,7 +70,8 @@ export default () => (
|
|||||||
fileName: 'custom.csv',
|
fileName: 'custom.csv',
|
||||||
separator: '|',
|
separator: '|',
|
||||||
ignoreHeader: true,
|
ignoreHeader: true,
|
||||||
noAutoBOM: false
|
noAutoBOM: false,
|
||||||
|
blobType: 'text/csv;charset=ansi'
|
||||||
} }
|
} }
|
||||||
>
|
>
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user