import { useSortable } from "@dnd-kit/sortable"; import { Button } from "@repo/shadcn-ui/components"; import { cn } from "@repo/shadcn-ui/lib/utils"; import { t } from "i18next"; import { GripVerticalIcon } from "lucide-react"; export interface DataTableRowDragHandleCellProps { rowId: string; className?: string; } export const DataTableRowDragHandleCell = ({ rowId, className, }: DataTableRowDragHandleCellProps) => { const { attributes, listeners, isDragging } = useSortable({ id: rowId, }); return ( ); };