tests: add additional components tests
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<script setup>
|
||||
import { MiniMap, VueFlow } from '@braks/vue-flow'
|
||||
|
||||
defineProps({
|
||||
nodes: {
|
||||
type: Array,
|
||||
default: () => [],
|
||||
},
|
||||
edges: {
|
||||
type: Array,
|
||||
default: () => [],
|
||||
},
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<VueFlow :nodes="nodes" :edges="edges">
|
||||
<MiniMap />
|
||||
</VueFlow>
|
||||
</template>
|
||||
Reference in New Issue
Block a user