[react-bootstrap-table] Fix paginationShowsTotal type (fixes #20684) (#20760)

* Update paginationShowsTotal type (fixes #20684)

* Forgot to surround definition with brackets.
This commit is contained in:
James Ah Yong
2017-10-23 18:02:05 -04:00
committed by Sheetal Nandi
parent dd92ec5ddd
commit 3d91b9219a

View File

@@ -418,7 +418,7 @@ export interface Options {
* `rowKeys` is the row keys which been deleted, you can call next function to apply this deletion.
*/
handleConfirmDeleteRow?: (next: Function, rowKeys: any[]) => void;
paginationShowsTotal?: boolean | ReactElement<any>;
paginationShowsTotal?: boolean | ((start: number, to: number, total: number) => ReactElement<any>);
onSearchChange?: Function;
onAddRow?: Function;
onExportToCSV?: Function;