Skip to content

Commit

Permalink
[DataGrid] Fix TypeScript type error for toolbar components (#2393)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeeshanTamboli authored Aug 31, 2021
1 parent 0a161a5 commit 36124c6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ export const GridToolbar = React.forwardRef<HTMLDivElement, GridToolbarContainer
</GridToolbarContainer>
);
},
);
) as (props: GridToolbarContainerProps) => JSX.Element;
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ export const GridToolbarColumnsButton = React.forwardRef<HTMLButtonElement, Butt
</Button>
);
},
);
) as (props: ButtonProps) => JSX.Element;
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,4 @@ export const GridToolbarDensitySelector = React.forwardRef<HTMLButtonElement, Bu
</React.Fragment>
);
},
);
) as (props: ButtonProps) => JSX.Element;
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,4 @@ export const GridToolbarExport = React.forwardRef<HTMLButtonElement, GridToolbar
</React.Fragment>
);
},
);
) as (props: GridToolbarExportProps) => JSX.Element;
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,4 @@ export const GridToolbarFilterButton = React.forwardRef<
</Button>
</Tooltip>
);
});
}) as (props: GridToolbarFilterButtonProps) => JSX.Element;

0 comments on commit 36124c6

Please sign in to comment.