[react-bootstrap-table-next] Allow to pass JSX.Element as *PageText option (#45916)

This commit is contained in:
gentoo90 2020-07-07 22:11:36 +03:00 committed by GitHub
parent 84e08dbd90
commit e115117b0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
*/