fix(controls): allow PanelPositionType as position value
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import type { FitViewParams, PanelPosition } from '@vue-flow/core'
|
import type { FitViewParams, PanelPosition, PanelPositionType } from '@vue-flow/core'
|
||||||
|
|
||||||
export interface ControlProps {
|
export interface ControlProps {
|
||||||
/** Show the zoom icon */
|
/** Show the zoom icon */
|
||||||
@@ -10,5 +10,5 @@ export interface ControlProps {
|
|||||||
/** Params to use on fitView */
|
/** Params to use on fitView */
|
||||||
fitViewParams?: FitViewParams
|
fitViewParams?: FitViewParams
|
||||||
/** Position of the controls {@link PanelPosition} */
|
/** Position of the controls {@link PanelPosition} */
|
||||||
position?: PanelPosition
|
position?: PanelPositionType | PanelPosition
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user