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
@@ -1,5 +1,5 @@
<script setup>
import { Panel, PanelPosition, useVueFlow } from '@vue-flow/core'
import { Panel, useVueFlow } from '@vue-flow/core'
const flowKey = 'example-flow'
@@ -34,7 +34,7 @@ function onAdd() {
</script>
<template>
<Panel :position="PanelPosition.TopRight" class="save-restore-controls">
<Panel position="top-right" class="save-restore-controls">
<button style="background-color: #33a6b8" @click="onSave">save</button>
<button style="background-color: #113285" @click="onRestore">restore</button>
<button style="background-color: #6f3381" @click="onAdd">add node</button>