chore(docs): replace the deprecated enum PanelPosition (#979)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user