Skip to content

Commit

Permalink
📝 fix: demo import link
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangchu committed Nov 9, 2023
1 parent 4c207e2 commit 6cd4735
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
12 changes: 7 additions & 5 deletions docs/useDocs/demos/selectFlow.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import { FlowView } from '@ant-design/pro-flow';
import { EdgeType } from '@ant-design/pro-flow/es/index';
import styled from 'styled-components';
import { useFlowViewer } from '../../../src/FlowView/hooks/useFlowView';
import { FlowViewProvider } from '../../../src/FlowView/provider/FlowViewProvider';
import { SelectType } from '../../../src/constants';
import {
EdgeType,
FlowView,
FlowViewProvider,
SelectType,
useFlowViewer,
} from '../../../src/index';

const initNodes = [
{
Expand Down
5 changes: 5 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
export * from './Background';
export { default as BasicNode } from './BasicNode';
export { default as CanvasLoading } from './CanvasLoading';
export * from './ControlInput';
export { default as EditableText } from './EditableText';
export * from './FlowEditor';
export * from './FlowPanel';
export { FlowStoreProvider, type FlowEditorStoreProviderProps } from './FlowStoreProvider';
export { default as FlowView } from './FlowView/FlowView';
export * from './FlowView/hooks/useFlowView';
export * from './FlowView/provider/FlowViewProvider';
export * from './Input';
export { NodeField, useNodeFieldStyles } from './NodeField';
export type { ExtraAction } from './NodeField';
export * from './ProFlowController';
export { default as ProFlowController } from './ProFlowController';
export { default as RadiusEdge } from './RadiusEdge';
export * from './constants';

0 comments on commit 6cd4735

Please sign in to comment.