Skip to content

Commit

Permalink
πŸ›
Browse files Browse the repository at this point in the history
  • Loading branch information
zbeyens committed Mar 28, 2024
1 parent 24f2b07 commit eb8bb46
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/dnd/src/components/useDraggable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,14 @@ import { DropTargetMonitor } from 'react-dnd';

import { DragItemNode, DropLineDirection, useDndBlock } from '..';

import type { ReactElement, RefObject } from 'react';

export type DraggableState = {
dropLine: DropLineDirection;
isHovered: boolean;
setIsHovered: (isHovered: boolean) => void;
isDragging: boolean;
nodeRef: React.RefObject<HTMLDivElement>;
dragRef: (
elementOrNode: RefObject<any> | ReactElement | Element | null
elementOrNode: React.RefObject<any> | React.ReactElement | Element | null
) => void;
};

Expand Down

0 comments on commit eb8bb46

Please sign in to comment.