Update to reflect types for mui-datatables v2.8.0 (#37701)
Update to reflect types for mui-datatables v2.8.0 (#37701)

* Update index.d.ts

Added 'custom' to type FilterType and added searchText as string to MUIDataTableOptions

* Update to reflect types for mui-datatables v2.8.0

- Added interface type MUIDataTableFilterOptions as: 
export interface MUIDataTableFilterOptions {
    names?: string[];
    display?: (filterList:string[], onChange: any, index: number, column: any) => void;
    logic?: any;
}
- Changed type of filterOptions in MUIDataTableColumnOptions to MUIDataTableFilterOptions (breaking change if filteroptions is used)
- Added customFilterListRender?: (value: any) => string; to MUIDataTableColumnOptions 
- Added to MUIDataTableOptions: 
     - selectableRowsOnClick?: boolean;
     - rowsExpanded?: any[];
     - onSearchOpen?: () => void;
     - customSearchRender?: (searchText: string, handleSearch: any, hideSearch: any, options: any) => React.Component;

* Added whitespace after colon in line 108, pos 27

To correct travis build failure

* Changed typing of logic in MUIDataTableFilterOptions

As per review i changed the typing of logic in MUIDataTableFilterOptions from <any> to <logic?: (prop: string, filterValue: any[]) => boolean>

georgemarshall/DefinitelyTyped,markogresak/DefinitelyTyped,mcliment/DefinitelyTyped,dsebastien/DefinitelyTyped,georgemarshall/DefinitelyTyped,georgemarshall/DefinitelyTyped,georgemarshall/DefinitelyTyped,dsebastien/DefinitelyTyped