UNPKG

tdesign-react

Version:
9 lines (8 loc) 397 B
import type { TdDrawerProps } from '../type'; declare const useDrag: (placement: TdDrawerProps["placement"], sizeDraggable: TdDrawerProps["sizeDraggable"], onSizeDragEnd: TdDrawerProps["onSizeDragEnd"]) => { dragSizeValue: string; enableDrag: () => void; draggableLineStyles: import("react").CSSProperties; draggingStyles: import("react").CSSProperties; }; export default useDrag;