mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-03-31 10:44:33 +00:00
Add a fix for changepage funciton and change rows per page. (#43710)
This commit is contained in:
4
types/mui-datatables/index.d.ts
vendored
4
types/mui-datatables/index.d.ts
vendored
@@ -160,8 +160,8 @@ export interface MUIDataTableOptions {
|
||||
rowCount: number,
|
||||
page: number,
|
||||
rowsPerPage: number,
|
||||
changeRowsPerPage: () => any,
|
||||
changePage: number
|
||||
changeRowsPerPage: (page: string | number) => void,
|
||||
changePage: (newPage: number) => void
|
||||
) => React.ReactNode;
|
||||
customRowRender?: (data: any[], dataIndex: number, rowIndex: number) => React.ReactNode;
|
||||
customSearch?: (searchQuery: string, currentRow: any[], columns: any[]) => boolean;
|
||||
|
||||
Reference in New Issue
Block a user