@chamn/engine
Version:
14 lines (13 loc) • 501 B
TypeScript
import { CNode, CPage } from '@chamn/model';
import { CPluginCtx } from '../../../../../core/pluginManager';
interface ActionFlowContextType {
pluginCtx: CPluginCtx;
pageModel: CPage;
/** 数据有改变时,包含节点内部的数据 */
onDataChange: () => void;
/** 当前节点 */
nodeModel: CNode | null;
}
export declare const ActionFlowContext: import('react').Context<ActionFlowContextType>;
export declare const useActionFlow: () => ActionFlowContextType;
export {};