diff --git a/types/react-bootstrap-table-next/index.d.ts b/types/react-bootstrap-table-next/index.d.ts index 0cdec38b4c..29e1895827 100644 --- a/types/react-bootstrap-table-next/index.d.ts +++ b/types/react-bootstrap-table-next/index.d.ts @@ -230,19 +230,19 @@ export type PaginationOptions = Partial<{ /** * the text of first page button */ - firstPageText: string; + firstPageText: string | JSX.Element; /** * the text of previous page button */ - prePageText: string; + prePageText: string | JSX.Element; /** * the text of next page button */ - nextPageText: string; + nextPageText: string | JSX.Element; /** * the text of last page button */ - lastPageText: string; + lastPageText: string | JSX.Element; /** * the title of next page button */