mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
Added returntype JSX.Element to option customSearchRender (#37769)
Added returntype JSX.Element to option customSearchRender in MUIDataTableOptions
This commit is contained in:
2
types/mui-datatables/index.d.ts
vendored
2
types/mui-datatables/index.d.ts
vendored
@@ -141,7 +141,7 @@ export interface MUIDataTableOptions {
|
||||
changePage: number
|
||||
) => React.ReactNode;
|
||||
customSearch?: (searchQuery: string, currentRow: any[], columns: any[]) => boolean;
|
||||
customSearchRender?: (searchText: string, handleSearch: any, hideSearch: any, options: any) => React.Component;
|
||||
customSearchRender?: (searchText: string, handleSearch: any, hideSearch: any, options: any) => React.Component | JSX.Element;
|
||||
customSort?: (data: any[], colIndex: number, order: string) => any[];
|
||||
customToolbar?: () => React.ReactNode;
|
||||
customToolbarSelect?: (
|
||||
|
||||
Reference in New Issue
Block a user