Skip to content

Commit

Permalink
Rename classes
Browse files Browse the repository at this point in the history
  • Loading branch information
amanmahajan7 committed Sep 12, 2023
1 parent 5fe4411 commit 9a66289
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/HeaderCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ export const resizeHandleClassname = css`
}
`;

const draggingClassname = css`
const cellDraggingClassname = css`
opacity: 0.5;
`;

const overClassname = css`
const cellOverClassname = css`
background-color: var(--rdg-header-draggable-background-color);
`;

Expand Down Expand Up @@ -95,8 +95,8 @@ export default function HeaderCell<R, SR>({
const className = getCellClassname(column, column.headerCellClass, {
[cellSortableClassname]: sortable,
[cellResizableClassname]: resizable,
[draggingClassname]: isDragging,
[overClassname]: isOver
[cellDraggingClassname]: isDragging,
[cellOverClassname]: isOver
});

const renderHeaderCell = column.renderHeaderCell ?? defaultRenderHeaderCell;
Expand Down

0 comments on commit 9a66289

Please sign in to comment.