UNPKG

tdesign-vue

Version:
18 lines (17 loc) 504 B
import { TabValue } from '../type'; import TTabPanel from '../tab-panel'; interface DragSortProps { theme?: string; panels?: Array<InstanceType<typeof TTabPanel>>; onDragSort?: (context: { currentIndex: number; current: TabValue; targetIndex: number; target: TabValue; }) => void; } declare const handleDragSort: (props: DragSortProps) => { setNavsWrap: (val: HTMLDivElement) => void; dragSortDestroy: () => void; }; export default handleDragSort;