diff --git a/packages/minimap/src/types.ts b/packages/minimap/src/types.ts index b5c53b58..c4e812c7 100644 --- a/packages/minimap/src/types.ts +++ b/packages/minimap/src/types.ts @@ -1,4 +1,4 @@ -import type { Dimensions, GraphNode, NodeMouseEvent, PanelPosition, XYPosition } from '@vue-flow/core' +import type { Dimensions, GraphNode, NodeMouseEvent, PanelPosition, PanelPositionType, XYPosition } from '@vue-flow/core' import type { CSSProperties, InjectionKey } from 'vue' /** expects a node and returns a color value */ @@ -24,7 +24,7 @@ export interface MiniMapProps { /** Border width of minimap mask */ maskStrokeWidth?: number /** Position of the minimap {@link PanelPosition} */ - position?: PanelPosition + position?: PanelPositionType | PanelPosition /** Enable drag minimap to drag viewport */ pannable?: boolean /** Enable zoom minimap to zoom viewport */