Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
pablonyx committed Feb 5, 2025
1 parent 096ac68 commit 7c162a0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions web/src/components/table/DragHandle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ import React from "react";
import { MdDragIndicator } from "react-icons/md";

interface DragHandleProps extends React.HTMLAttributes<HTMLDivElement> {
isDragging: boolean;
isDragging?: boolean;
size?: number;
}

export const DragHandle: React.FC<DragHandleProps> = ({
isDragging,
size = 16,
...props
}) => {
return (
Expand All @@ -16,7 +18,7 @@ export const DragHandle: React.FC<DragHandleProps> = ({
}`}
{...props}
>
<MdDragIndicator />
<MdDragIndicator size={size} />
</div>
);
};

0 comments on commit 7c162a0

Please sign in to comment.