chore(docs): replace the deprecated enum PanelPosition (#979)

This commit is contained in:
Alex Liu
2023-07-10 18:22:50 +02:00
committed by GitHub
parent 70528f8a99
commit 5669c8b101
11 changed files with 22 additions and 22 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
<script setup>
import { Background } from '@vue-flow/background'
import { Panel, PanelPosition, VueFlow, useVueFlow } from '@vue-flow/core'
import { Panel, VueFlow, useVueFlow } from '@vue-flow/core'
import { ref, watch } from 'vue'
const isHidden = ref(false)
@@ -29,7 +29,7 @@ watch(isHidden, () => {
<VueFlow fit-view-on-init>
<Background />
<Panel :position="PanelPosition.TopRight">
<Panel position="top-right">
<div>
<label for="ishidden">
hidden