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 }