Skip to content

Commit

Permalink
fix: 导出原子组件 (#1229)
Browse files Browse the repository at this point in the history
  • Loading branch information
lxfu1 authored Mar 23, 2022
1 parent 7637fa5 commit f145ad0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/flowchart/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ant-design/flowchart",
"version": "1.1.0",
"version": "1.1.1",
"description": "Flowchart",
"bugs": {
"url": "https://github.com/ant-design/ant-design-charts/issues"
Expand Down
14 changes: 9 additions & 5 deletions packages/flowchart/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,14 @@ import {
FlowchartFormPanel as FormPanel,
FlowchartFormWrapper as FormWrapper,
// EditorPanels,
// NodeService,
// EdgeService,
// GroupService,
// CanvasService,
// FlowchartService,
} from '@antv/xflow';
// 临时方案
import { EditorPanels, FlowchartService } from '@antv/xflow-extension';
import Flowchart from './graph';

export { ToolbarPanel } from './components/toolbar';

const { NodeService, EdgeService, GroupService, CanvasService } = FlowchartService;
export {
Flowchart,
WorkspacePanel,
Expand All @@ -35,6 +34,11 @@ export {
createKeybindingConfig,
FormPanel,
FormWrapper,
EditorPanels,
NodeService,
EdgeService,
GroupService,
CanvasService,
};

export * from './interface';

0 comments on commit f145ad0

Please sign in to comment.