Skip to content

Commit 1c4e208

Browse files
committed
fix(controls): allow PanelPositionType as position value
1 parent c59803e commit 1c4e208

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/controls/src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { FitViewParams, PanelPosition } from '@vue-flow/core'
1+
import type { FitViewParams, PanelPosition, PanelPositionType } from '@vue-flow/core'
22

33
export interface ControlProps {
44
/** Show the zoom icon */
@@ -10,5 +10,5 @@ export interface ControlProps {
1010
/** Params to use on fitView */
1111
fitViewParams?: FitViewParams
1212
/** Position of the controls {@link PanelPosition} */
13-
position?: PanelPosition
13+
position?: PanelPositionType | PanelPosition
1414
}

0 commit comments

Comments
 (0)