From e115117b0f091450cc28bdc9ec05ca99dcef4465 Mon Sep 17 00:00:00 2001 From: gentoo90 Date: Tue, 7 Jul 2020 22:11:36 +0300 Subject: [PATCH] [react-bootstrap-table-next] Allow to pass JSX.Element as *PageText option (#45916) --- types/react-bootstrap-table-next/index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 */