UNPKG

@ichooss/xflow

Version:

[English (US)](README.md) | 简体中文

10 lines 386 B
import type { Graph } from '@antv/x6'; import React, { type FC, type PropsWithChildren } from 'react'; interface GraphContextValue { graph: Graph | null; setGraph: (graph: Graph | null) => void; } export declare const GraphContext: React.Context<GraphContextValue>; export declare const GraphProvider: FC<PropsWithChildren>; export {}; //# sourceMappingURL=GraphContext.d.ts.map