diff --git a/src/FlowEditor/index.ts b/src/FlowEditor/index.ts index 83bf064..7f2b421 100644 --- a/src/FlowEditor/index.ts +++ b/src/FlowEditor/index.ts @@ -1,6 +1,9 @@ export { default as FlowEditor, type FlowEditorProps } from './container'; export { FlowEditorProvider } from './container/FlowEditorProvider'; + +export { useFlowEditor } from './hooks/useFlowEditor'; export type { FlowEditorInstance } from './hooks/useFlowEditor'; + export * from './store/selectors'; export * from './types'; export { memoEqual } from './utils/memoEqual'; diff --git a/src/hooks/useFlowEditor.ts b/src/hooks/useFlowEditor.ts deleted file mode 100644 index cac9407..0000000 --- a/src/hooks/useFlowEditor.ts +++ /dev/null @@ -1 +0,0 @@ -export { useFlowEditor } from '../FlowEditor/hooks/useFlowEditor'; diff --git a/src/index.ts b/src/index.ts index 8792e3b..dd03157 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,4 +7,3 @@ export { FlowStoreProvider, type FlowEditorStoreProviderProps } from './FlowStor export * from './Input'; export { NodeField, useNodeFieldStyles } from './NodeField'; export type { ExtraAction } from './NodeField'; -export * from './hooks/useFlowEditor';