diff --git a/types/react-bootstrap-table/index.d.ts b/types/react-bootstrap-table/index.d.ts index 8286d28980..66f3f8786a 100644 --- a/types/react-bootstrap-table/index.d.ts +++ b/types/react-bootstrap-table/index.d.ts @@ -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; + paginationShowsTotal?: boolean | ((start: number, to: number, total: number) => ReactElement); onSearchChange?: Function; onAddRow?: Function; onExportToCSV?: Function;