diff --git a/types/react-bootstrap-table/index.d.ts b/types/react-bootstrap-table/index.d.ts index 57c8d02218..159470878a 100644 --- a/types/react-bootstrap-table/index.d.ts +++ b/types/react-bootstrap-table/index.d.ts @@ -177,7 +177,7 @@ export interface BootstrapTableProps extends Props { /** * 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 */