mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
[react-bootstrap-table] csvFileName also accepts function returning string (#20352)
The csvFileName prop on the BootstrapTable component also accepts a function that returns a string.
This commit is contained in:
committed by
Wesley Wigham
parent
4e39a2f43d
commit
f72b298cc5
+1
-1
@@ -177,7 +177,7 @@ export interface BootstrapTableProps extends Props<BootstrapTable> {
|
||||
/**
|
||||
* Set CSV filename (e.g. items.csv). Default is spreadsheet.csv
|
||||
*/
|
||||
csvFileName?: string;
|
||||
csvFileName?: () => string | string;
|
||||
/**
|
||||
* Enable row selection on table. selectRow accept an object which have the following properties
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user