mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
Merge pull request #31586 from nielsdB97/patch-2
Allow both JSX elements and strings to be passed as ReactTable.TextProps
This commit is contained in:
Vendored
+6
-6
@@ -362,22 +362,22 @@ export interface ComponentProps {
|
||||
|
||||
export interface TextProps {
|
||||
/** Default: 'Previous' */
|
||||
previousText: string;
|
||||
previousText: React.ReactNode;
|
||||
|
||||
/** Default: 'Next' */
|
||||
nextText: string;
|
||||
nextText: React.ReactNode;
|
||||
|
||||
/** Default: 'Loading...' */
|
||||
loadingText: string;
|
||||
loadingText: React.ReactNode;
|
||||
|
||||
/** Default: 'No rows found' */
|
||||
noDataText: string;
|
||||
noDataText: React.ReactNode | React.ComponentType;
|
||||
|
||||
/** Default: 'Page' */
|
||||
pageText: string;
|
||||
pageText: React.ReactNode;
|
||||
|
||||
/** Default: 'of' */
|
||||
ofText: string;
|
||||
ofText: React.ReactNode;
|
||||
|
||||
/** Default: 'rows' */
|
||||
rowsText: string;
|
||||
|
||||
Reference in New Issue
Block a user