From 9a662893be5bb1473da704882d394c28837e35ad Mon Sep 17 00:00:00 2001 From: Aman Mahajan Date: Tue, 12 Sep 2023 10:48:45 -0500 Subject: [PATCH] Rename classes --- src/HeaderCell.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/HeaderCell.tsx b/src/HeaderCell.tsx index 30363ce653..6546491bdc 100644 --- a/src/HeaderCell.tsx +++ b/src/HeaderCell.tsx @@ -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); `; @@ -95,8 +95,8 @@ export default function HeaderCell({ const className = getCellClassname(column, column.headerCellClass, { [cellSortableClassname]: sortable, [cellResizableClassname]: resizable, - [draggingClassname]: isDragging, - [overClassname]: isOver + [cellDraggingClassname]: isDragging, + [cellOverClassname]: isOver }); const renderHeaderCell = column.renderHeaderCell ?? defaultRenderHeaderCell;