Skip to content

Commit

Permalink
♻️ refactor: refactor export of useFlowEditor Instance
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Aug 7, 2023
1 parent 0f0c851 commit 5b916fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/FlowEditor/index.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
1 change: 0 additions & 1 deletion src/hooks/useFlowEditor.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

0 comments on commit 5b916fd

Please sign in to comment.