Skip to content

Commit

Permalink
[GridAutoSizer] Fix onResize property type conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
vizv committed Nov 10, 2022
1 parent 6e0c787 commit 676761b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/grid/x-data-grid/src/components/GridAutoSizer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ export interface AutoSizerSize {
// Credit to https://github.com/bvaughn/react-virtualized/blob/master/source/AutoSizer/AutoSizer.js
// for the sources.

export interface AutoSizerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
export interface AutoSizerProps
extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children' | 'onResize'> {
/**
* Function responsible for rendering children.
* @param {AutoSizerSize} size The grid's size.
Expand Down

0 comments on commit 676761b

Please sign in to comment.