Skip to content

Commit

Permalink
Update index.d.ts
Browse files Browse the repository at this point in the history
fix import typo
  • Loading branch information
oze4 committed May 14, 2021
1 parent c6679db commit 01999ef
Showing 1 changed file with 28 additions and 19 deletions.
47 changes: 28 additions & 19 deletions types/index.d.ts
Original file line number Diff line number Diff line change
@@ -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(
Expand Down Expand Up @@ -287,33 +287,42 @@ export const MTableToolbar: (props: any) => React.ReactElement<any>;
export const MTable: (props: any) => React.ReactElement<any>;

export interface Icons {
Add?: React.ForwardRefExoticComponent<any> & React.RefAttributes<SVGSVGElement>;
Check?: React.ForwardRefExoticComponent<any> & React.RefAttributes<SVGSVGElement>;
Clear?: React.ForwardRefExoticComponent<any> & React.RefAttributes<SVGSVGElement>;
Delete?: React.ForwardRefExoticComponent<any> & React.RefAttributes<SVGSVGElement>;
DetailPanel?: React.ForwardRefExoticComponent<any> &
Add?: React.ForwardRefExoticComponent<any> &
React.RefAttributes<SVGSVGElement>;
Edit?: React.ForwardRefExoticComponent<any> & React.RefAttributes<SVGSVGElement>;
Export?: React.ForwardRefExoticComponent<any> & React.RefAttributes<SVGSVGElement>;
Filter?: React.ForwardRefExoticComponent<any> & React.RefAttributes<SVGSVGElement>;
FirstPage?: React.ForwardRefExoticComponent<any> &
Check?: React.ForwardRefExoticComponent<any> &
React.RefAttributes<SVGSVGElement>;
SortArrow?: React.ForwardRefExoticComponent<any> &
Clear?: React.ForwardRefExoticComponent<any> &
React.RefAttributes<SVGSVGElement>;
LastPage?: React.ForwardRefExoticComponent<any> &
Delete?: React.ForwardRefExoticComponent<any> &
React.RefAttributes<SVGSVGElement>;
NextPage?: React.ForwardRefExoticComponent<any> &
DetailPanel?: React.ForwardRefExoticComponent<any> &
React.RefAttributes<SVGSVGElement>;
PreviousPage?: React.ForwardRefExoticComponent<any> &
Edit?: React.ForwardRefExoticComponent<any> &
React.RefAttributes<SVGSVGElement>;
ResetSearch?: React.ForwardRefExoticComponent<any> &
Export?: React.ForwardRefExoticComponent<any> &
React.RefAttributes<SVGSVGElement>;
Search?: React.ForwardRefExoticComponent<any> & React.RefAttributes<SVGSVGElement>;
ThirdStateCheck?: React.ForwardRefExoticComponent<any> &
Filter?: React.ForwardRefExoticComponent<any> &
React.RefAttributes<SVGSVGElement>;
ViewColumn?: React.ForwardRefExoticComponent<any> &
FirstPage?: React.ForwardRefExoticComponent<any> &
React.RefAttributes<SVGSVGElement>;
SortArrow?: React.ForwardRefExoticComponent<any> &
React.RefAttributes<SVGSVGElement>;
LastPage?: React.ForwardRefExoticComponent<any> &
React.RefAttributes<SVGSVGElement>;
NextPage?: React.ForwardRefExoticComponent<any> &
React.RefAttributes<SVGSVGElement>;
PreviousPage?: React.ForwardRefExoticComponent<any> &
React.RefAttributes<SVGSVGElement>;
ResetSearch?: React.ForwardRefExoticComponent<any> &
React.RefAttributes<SVGSVGElement>;
Search?: React.ForwardRefExoticComponent<any> &
React.RefAttributes<SVGSVGElement>;
ThirdStateCheck?: React.ForwardRefExoticComponent<any> &
React.RefAttributes<SVGSVGElement>;
ViewColumn?: React.ForwardRefExoticComponent<any> &
React.RefAttributes<SVGSVGElement>;
Retry?: React.ForwardRefExoticComponent<any> &
React.RefAttributes<SVGSVGElement>;
Retry?: React.ForwardRefExoticComponent<any> & React.RefAttributes<SVGSVGElement>;
}

export interface Options<RowData extends object> {
Expand Down

0 comments on commit 01999ef

Please sign in to comment.