feat(node-toolbar): add node-toolbar component
This commit is contained in:
@@ -38,7 +38,8 @@
|
||||
"@reactflow/background": "workspace:*",
|
||||
"@reactflow/controls": "workspace:*",
|
||||
"@reactflow/core": "workspace:*",
|
||||
"@reactflow/minimap": "workspace:*"
|
||||
"@reactflow/minimap": "workspace:*",
|
||||
"@reactflow/node-toolbar": "workspace:*"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": ">=17",
|
||||
@@ -58,7 +59,8 @@
|
||||
"@reactflow/background": "ReactFlowBackground",
|
||||
"@reactflow/controls": "ReactFlowControls",
|
||||
"@reactflow/core": "ReactFlowCore",
|
||||
"@reactflow/minimap": "ReactFlowMinimap"
|
||||
"@reactflow/minimap": "ReactFlowMinimap",
|
||||
"@reactflow/node-toolbar": "ReactFlowNodeToolbar"
|
||||
},
|
||||
"name": "ReactFlow"
|
||||
}
|
||||
|
||||
@@ -2,5 +2,6 @@ export * from '@reactflow/core';
|
||||
export * from '@reactflow/minimap';
|
||||
export * from '@reactflow/controls';
|
||||
export * from '@reactflow/background';
|
||||
export * from '@reactflow/node-toolbar';
|
||||
|
||||
export { ReactFlow as default } from '@reactflow/core';
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@import '@reactflow/core/dist/style.css';
|
||||
@import '@reactflow/controls/dist/style.css';
|
||||
@import '@reactflow/minimap/dist/style.css';
|
||||
@import '@reactflow/node-toolbar/dist/style.css';
|
||||
|
||||
Reference in New Issue
Block a user