@chief-editor/editor
Version:
FlowEditor Editor
6 lines (5 loc) • 484 B
TypeScript
import { Draggable } from '@co-hooks/draggable';
import { EditorBrickGlobal, IBrickDragData } from '@chief-editor/core';
import { IDynamicDraggableOptions } from '@rc-hooks/draggable';
import { RefObject } from 'react';
export declare function useMoveContainer(container: RefObject<HTMLElement> | HTMLElement | null, brick: EditorBrickGlobal, options?: Omit<IDynamicDraggableOptions<IBrickDragData>, 'getContainer' | 'getDragType' | 'draggable' | 'data'>): Draggable<IBrickDragData>;