mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
mui-datatables v2.7.0: added custom filtertype and searchText (#37537)
* Added custom value to FilterType and searchText as string to MUIDataTableOptions mui-datatables version 2.7.0 * Removed trailing whitespace
This commit is contained in:
committed by
Pranav Senthilnathan
parent
2311984a90
commit
57264f62b5
Vendored
+2
-1
@@ -11,7 +11,7 @@ import * as React from 'react';
|
||||
|
||||
export type Display = 'true' | 'false' | 'excluded';
|
||||
export type SortDirection = 'asc' | 'desc';
|
||||
export type FilterType = 'dropdown' | 'checkbox' | 'multiselect' | 'textField';
|
||||
export type FilterType = 'dropdown' | 'checkbox' | 'multiselect' | 'textField' | 'custom';
|
||||
export type Responsive = 'stacked' | 'scroll';
|
||||
export type SelectableRows = 'multiple' | 'single' | 'none';
|
||||
|
||||
@@ -184,6 +184,7 @@ export interface MUIDataTableOptions {
|
||||
rowsPerPageOptions?: number[];
|
||||
rowsSelected?: any[];
|
||||
search?: boolean;
|
||||
searchText?: string;
|
||||
selectableRows?: SelectableRows;
|
||||
serverSide?: boolean;
|
||||
setRowProps?: (row: any[], rowIndex: number) => object;
|
||||
|
||||
Reference in New Issue
Block a user