@ant-design/pro-flow
Version:
A React based Flow components
8 lines (7 loc) • 447 B
TypeScript
import { StateCreator } from 'zustand';
import { FlowEditorState } from './initialState';
import { InternalStoreAction } from './slices';
import { InternalFlow } from '../types';
import { DocWithHistoryManager } from '../utils/yjs';
export type FlowEditorStore = FlowEditorState & InternalStoreAction;
export declare const createStore: (yjsDoc: DocWithHistoryManager<InternalFlow>) => StateCreator<FlowEditorStore, [['zustand/devtools', never]]>;