Skip to content

Commit

Permalink
fix(GridProps): make optional properties optional (#273)
Browse files Browse the repository at this point in the history
onGridSizeChanged, onFirstDataRendered, suppressColumnVirtualization
all have defaults and should not be required.
  • Loading branch information
jfee-linz committed Apr 5, 2023
1 parent 8e6c3bf commit 805974f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ export interface GridProps {
autoSelectFirstRow?: boolean;
onColumnMoved?: GridOptions["onColumnMoved"];
alwaysShowVerticalScroll?: boolean;
onGridSizeChanged: GridOptions["onGridSizeChanged"];
onFirstDataRendered: GridOptions["onFirstDataRendered"];
suppressColumnVirtualization: GridOptions["suppressColumnVirtualisation"];
onGridSizeChanged?: GridOptions["onGridSizeChanged"];
onFirstDataRendered?: GridOptions["onFirstDataRendered"];
suppressColumnVirtualization?: GridOptions["suppressColumnVirtualisation"];
}

/**
Expand Down

0 comments on commit 805974f

Please sign in to comment.