diff --git a/types/mui-datatables/index.d.ts b/types/mui-datatables/index.d.ts index 56a7b5334e..ba2f028e23 100644 --- a/types/mui-datatables/index.d.ts +++ b/types/mui-datatables/index.d.ts @@ -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;