diff --git a/types/index.d.ts b/types/index.d.ts index 43835584..32afff4b 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -1,7 +1,7 @@ import React from 'react'; import { IconProps } from '@material-ui/core/Icon'; import SvgIcon from '@material-ui/core/SvgIcon'; -import { OnHandlers } from './helpers'; +import { OnHandlers } from './helper.d.ts'; declare module '@material-table/core/exporters' { export function ExportCsv( @@ -287,33 +287,42 @@ export const MTableToolbar: (props: any) => React.ReactElement; export const MTable: (props: any) => React.ReactElement; export interface Icons { - Add?: React.ForwardRefExoticComponent & React.RefAttributes; - Check?: React.ForwardRefExoticComponent & React.RefAttributes; - Clear?: React.ForwardRefExoticComponent & React.RefAttributes; - Delete?: React.ForwardRefExoticComponent & React.RefAttributes; - DetailPanel?: React.ForwardRefExoticComponent & + Add?: React.ForwardRefExoticComponent & React.RefAttributes; - Edit?: React.ForwardRefExoticComponent & React.RefAttributes; - Export?: React.ForwardRefExoticComponent & React.RefAttributes; - Filter?: React.ForwardRefExoticComponent & React.RefAttributes; - FirstPage?: React.ForwardRefExoticComponent & + Check?: React.ForwardRefExoticComponent & React.RefAttributes; - SortArrow?: React.ForwardRefExoticComponent & + Clear?: React.ForwardRefExoticComponent & React.RefAttributes; - LastPage?: React.ForwardRefExoticComponent & + Delete?: React.ForwardRefExoticComponent & React.RefAttributes; - NextPage?: React.ForwardRefExoticComponent & + DetailPanel?: React.ForwardRefExoticComponent & React.RefAttributes; - PreviousPage?: React.ForwardRefExoticComponent & + Edit?: React.ForwardRefExoticComponent & React.RefAttributes; - ResetSearch?: React.ForwardRefExoticComponent & + Export?: React.ForwardRefExoticComponent & React.RefAttributes; - Search?: React.ForwardRefExoticComponent & React.RefAttributes; - ThirdStateCheck?: React.ForwardRefExoticComponent & + Filter?: React.ForwardRefExoticComponent & React.RefAttributes; - ViewColumn?: React.ForwardRefExoticComponent & + FirstPage?: React.ForwardRefExoticComponent & + React.RefAttributes; + SortArrow?: React.ForwardRefExoticComponent & + React.RefAttributes; + LastPage?: React.ForwardRefExoticComponent & + React.RefAttributes; + NextPage?: React.ForwardRefExoticComponent & + React.RefAttributes; + PreviousPage?: React.ForwardRefExoticComponent & + React.RefAttributes; + ResetSearch?: React.ForwardRefExoticComponent & + React.RefAttributes; + Search?: React.ForwardRefExoticComponent & + React.RefAttributes; + ThirdStateCheck?: React.ForwardRefExoticComponent & + React.RefAttributes; + ViewColumn?: React.ForwardRefExoticComponent & + React.RefAttributes; + Retry?: React.ForwardRefExoticComponent & React.RefAttributes; - Retry?: React.ForwardRefExoticComponent & React.RefAttributes; } export interface Options {