feat(vue-flow,components): export MiniMapNode component

This commit is contained in:
bcakmakoglu
2022-06-15 19:31:20 +02:00
committed by Braks
parent 33cd638fd9
commit 06420ac6cd
2 changed files with 13 additions and 7 deletions
+12 -7
View File
@@ -27,7 +27,15 @@ const typedocSidebarEntries = (): SidebarConfigArray => {
return { text: capitalize(module), children } return { text: capitalize(module), children }
}) })
return [...sidebarItems] return [
{
text: 'Modules',
link: '/typedocs/',
children: [
...sidebarItems,
],
}
]
} }
export default { export default {
@@ -58,7 +66,7 @@ export default {
children: [ children: [
'/guide/utils/graph', '/guide/utils/graph',
'/guide/utils/instance', '/guide/utils/instance',
'/guide/utils/edge' '/guide/utils/edge',
] ]
}, },
{ {
@@ -66,11 +74,8 @@ export default {
children: [ children: [
'/guide/components/background', '/guide/components/background',
'/guide/components/minimap', '/guide/components/minimap',
{ '/guide/components/controls',
text: 'Controls', '/guide/components/control-button',
link: '/guide/components/controls',
children: ['/guide/components/control-button']
},
], ],
}, },
], ],
@@ -1,4 +1,5 @@
export { default as MiniMap } from './MiniMap/MiniMap.vue' export { default as MiniMap } from './MiniMap/MiniMap.vue'
export { default as MiniMapNode } from './MiniMap/MiniMapNode'
export { default as Controls } from './Controls/Controls.vue' export { default as Controls } from './Controls/Controls.vue'
export { default as ControlButton } from './Controls/ControlButton.vue' export { default as ControlButton } from './Controls/ControlButton.vue'
export { default as Background } from './Background/Background.vue' export { default as Background } from './Background/Background.vue'