lml-main
Version:
This is now a mono repository published into many standalone packages.
15 lines (14 loc) • 434 B
TypeScript
import { DraggingAction, DragType } from '../../allocation/actions';
export interface DraggingState {
drag: {
refId: string | null;
type: DragType;
};
drop: {
refId: string | null;
type: DragType;
count: number;
};
}
export declare const initialDraggingState: DraggingState;
export declare const draggingReducer: (state: DraggingState, action: DraggingAction) => DraggingState;