tanuki-ui
Version:
HTML-first React component library with semantic elements, multi-OS themes, and production-ready visual node editor
10 lines (9 loc) • 368 B
TypeScript
import { PanelState, DragState } from './types';
import { PanelAction } from './actions';
interface ReducerState {
panelState: PanelState;
dragState: DragState;
}
export declare const panelReducer: (state: ReducerState, action: PanelAction) => ReducerState;
export declare const createInitialState: (initialPanelState?: PanelState) => ReducerState;
export {};