tdesign-react
Version:
TDesign Component for React
9 lines (8 loc) • 397 B
TypeScript
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;