Skip to content

Commit

Permalink
refactor(plugins): create index file #15
Browse files Browse the repository at this point in the history
  • Loading branch information
moklick committed Oct 8, 2019
1 parent 379ccbf commit 9230858
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import ReactFlow from './container/ReactFlow';
export default ReactFlow;

export { default as Handle } from './components/Handle';
export { default as MiniMap } from './plugins/MiniMap';
export { default as Controls } from './plugins/Controls';
export { MiniMap, Controls } from './plugins';

export {
isNode,
Expand Down
2 changes: 2 additions & 0 deletions src/plugins/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { default as MiniMap } from './MiniMap';
export { default as Controls } from './Controls';

0 comments on commit 9230858

Please sign in to comment.