From 1c4e2086275c4aaeae14e02b9edd109c9d421d29 Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Tue, 28 May 2024 13:20:18 +0200 Subject: [PATCH] fix(controls): allow `PanelPositionType` as position value --- packages/controls/src/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/controls/src/types.ts b/packages/controls/src/types.ts index fd6d78c6..048ca62e 100644 --- a/packages/controls/src/types.ts +++ b/packages/controls/src/types.ts @@ -1,4 +1,4 @@ -import type { FitViewParams, PanelPosition } from '@vue-flow/core' +import type { FitViewParams, PanelPosition, PanelPositionType } from '@vue-flow/core' export interface ControlProps { /** Show the zoom icon */ @@ -10,5 +10,5 @@ export interface ControlProps { /** Params to use on fitView */ fitViewParams?: FitViewParams /** Position of the controls {@link PanelPosition} */ - position?: PanelPosition + position?: PanelPositionType | PanelPosition }