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 9, 2022
1 parent b78c946 commit 21343b4
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 21343b4

Please sign in to comment.