UNPKG

@gorpacrate/core-graphics

Version:

A core library for creating shape-based graphic editors

5 lines (4 loc) 244 B
import { IEditorEvent } from '../editor-events'; import { IEditorState } from '../editor-state'; export declare const DRAWN_SHAPE_ID = "___"; export default function drawStateReducer(currentState: IEditorState, ev: IEditorEvent): IEditorState;