Skip to content

Commit

Permalink
Minor correctness changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jassmith committed Apr 21, 2022
1 parent 3a323a0 commit e608dd4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/core/src/data-grid-dnd/data-grid-dnd.tsx
Expand Up @@ -8,9 +8,9 @@ type Props = Omit<DataGridProps, "dragAndDropState" | "isResizing" | "isDragging
export interface DataGridDndProps extends Props {
readonly onRowMoved?: (startIndex: number, endIndex: number) => void;
readonly onColumnMoved?: (startIndex: number, endIndex: number) => void;
readonly onColumnResized?: (column: GridColumn, newSize: number) => void;
readonly onColumnResizedStart?: (column: GridColumn, newSize: number) => void;
readonly onColumnResizedEnd?: (column: GridColumn, newSize: number) => void;
readonly onColumnResized?: (column: GridColumn, newSize: number) => void; // these should not be past tense
readonly onColumnResizedStart?: (column: GridColumn, newSize: number) => void; // these should not be past tense
readonly onColumnResizedEnd?: (column: GridColumn, newSize: number) => void; // these should not be past tense
readonly gridRef?: React.MutableRefObject<DataGridRef | null>;
readonly maxColumnWidth: number;
readonly minColumnWidth: number;
Expand Down
4 changes: 3 additions & 1 deletion packages/source/package.json
Expand Up @@ -47,7 +47,9 @@
"@glideapps/glide-data-grid": "4.0.3-beta1"
},
"peerDependencies": {
"lodash": "^4.17.19"
"lodash": "^4.17.19",
"react": "^16.12.0 || 17.x || 18.x",
"react-dom": "^16.12.0 || 17.x || 18.x"
},
"devDependencies": {
"@babel/cli": "^7.16.0",
Expand Down

0 comments on commit e608dd4

Please sign in to comment.