feat: pointer cursor for boards and deals

This commit is contained in:
2025-08-05 16:52:26 +04:00
parent 236c0dcf10
commit c13cc4a0a5
4 changed files with 13 additions and 5 deletions

View File

@ -7,12 +7,14 @@ import SortableItemContext from "./SortableItemContext";
type Props = {
id: number | string;
itemStyle?: CSSProperties;
dragHandleStyle?: CSSProperties;
};
export const SortableItem = ({
children,
itemStyle,
id,
dragHandleStyle,
}: PropsWithChildren<Props>) => {
const {
attributes,
@ -45,7 +47,7 @@ export const SortableItem = ({
<div
ref={setNodeRef}
style={style}>
<DragHandle>{children}</DragHandle>
<DragHandle style={dragHandleStyle}>{children}</DragHandle>
</div>
</SortableItemContext.Provider>
);