diff --git a/types/mui-datatables/index.d.ts b/types/mui-datatables/index.d.ts index 54bb9f56bd..eb74aa50dc 100644 --- a/types/mui-datatables/index.d.ts +++ b/types/mui-datatables/index.d.ts @@ -102,6 +102,7 @@ export interface MUIDataTableColumnOptions { filter?: boolean; filterList?: string[]; filterOptions?: string[]; + filterType?: 'dropdown' | 'checkbox' | 'multiselect' | 'textField'; sort?: boolean; searchable?: boolean; sortDirection?: 'asc' | 'desc'; @@ -170,7 +171,7 @@ export interface MUIDataTableOptions { export type MUIDataTableColumnDef = string | MUIDataTableColumn; export interface MUIDataTableProps { - title: string; + title: string | React.ReactNode; columns: MUIDataTableColumnDef[]; data: Array; options?: MUIDataTableOptions;