mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
MUI-Datatables: Update to let text labels and download options to be partials. (#43183)
* Update to let text labels be optional. * Make download options partial. * Revert some of the autoformatting issues. * Update types/mui-datatables/index.d.ts Co-Authored-By: Jeroen Claassens <jeroen.claassens@live.nl> Co-authored-by: Jeroen Claassens <jeroen.claassens@live.nl>
This commit is contained in:
parent
7caeca4bfb
commit
a75f3d3a49
8
types/mui-datatables/index.d.ts
vendored
8
types/mui-datatables/index.d.ts
vendored
@ -183,11 +183,11 @@ export interface MUIDataTableOptions {
|
||||
) => React.ReactNode;
|
||||
disableToolbarSelect?: boolean;
|
||||
download?: boolean;
|
||||
downloadOptions?: {
|
||||
downloadOptions?: Partial<{
|
||||
filename: string;
|
||||
separator: string;
|
||||
filterOptions?: { useDisplayedColumnsOnly: boolean; useDisplayedRowsOnly: boolean };
|
||||
};
|
||||
filterOptions: Partial<{ useDisplayedColumnsOnly: boolean; useDisplayedRowsOnly: boolean }>;
|
||||
}>;
|
||||
elevation?: number;
|
||||
expandableRows?: boolean;
|
||||
expandableRowsOnClick?: boolean;
|
||||
@ -255,7 +255,7 @@ export interface MUIDataTableOptions {
|
||||
setRowProps?: (row: any[], rowIndex: number) => object;
|
||||
sort?: boolean;
|
||||
sortFilterList?: boolean;
|
||||
textLabels?: MUIDataTableTextLabels;
|
||||
textLabels?: Partial<MUIDataTableTextLabels>;
|
||||
viewColumns?: boolean;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user