feat: Extend minimap node type
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
export { default as MiniMap } from './MiniMap/MiniMap.vue'
|
||||
export { default as MiniMapNode } from './MiniMap/MiniMapNode.vue'
|
||||
export { default as Controls } from './Controls/Controls.vue'
|
||||
export { default as Background } from './Background/Background.vue'
|
||||
|
||||
@@ -86,6 +86,10 @@ export interface MiniMapProps<Data = ElementData> {
|
||||
|
||||
/** these props are passed to mini map node slots */
|
||||
export interface MiniMapNodeProps {
|
||||
id: string
|
||||
parentNode?: string
|
||||
selected?: boolean
|
||||
dragging?: boolean
|
||||
position: XYPosition
|
||||
dimensions: Dimensions
|
||||
borderRadius?: number
|
||||
|
||||
Reference in New Issue
Block a user