Skip to content

Commit

Permalink
remove unused row prop
Browse files Browse the repository at this point in the history
  • Loading branch information
lauri865 committed Jan 27, 2025
1 parent 40a6fe7 commit 9709a0d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions packages/x-data-grid/src/components/GridRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export interface GridRowProps extends React.HTMLAttributes<HTMLDivElement> {
*/
index: number;
rowHeight: number | 'auto';
offsetTop: number | undefined;
offsetLeft: number;
columnsTotalWidth: number;
firstColumnIndex: number;
Expand Down Expand Up @@ -92,7 +91,6 @@ const GridRow = forwardRef<HTMLDivElement, GridRowProps>(function GridRow(props,
className,
visibleColumns,
pinnedColumns,
offsetTop,
offsetLeft,
columnsTotalWidth,
firstColumnIndex,
Expand Down Expand Up @@ -503,7 +501,6 @@ GridRow.propTypes = {
isNotVisible: PropTypes.bool.isRequired,
lastColumnIndex: PropTypes.number.isRequired,
offsetLeft: PropTypes.number.isRequired,
offsetTop: PropTypes.number,
onClick: PropTypes.func,
onDoubleClick: PropTypes.func,
onMouseEnter: PropTypes.func,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,6 @@ export const useGridVirtualScroller = () => {
rowId={id}
index={rowIndex}
selected={isSelected}
offsetTop={params.rows ? undefined : rowsMeta.positions[rowIndexInPage]}
offsetLeft={offsetLeft}
columnsTotalWidth={dimensions.columnsTotalWidth}
rowHeight={baseRowHeight}
Expand Down

0 comments on commit 9709a0d

Please sign in to comment.