update: Add names to components

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-21 16:54:59 +01:00
parent d24de0c0c2
commit fd71e1e16e
31 changed files with 125 additions and 20 deletions
@@ -1,9 +1,8 @@
<script lang="ts" setup>
import { SVGAttributes } from 'vue'
import { BackgroundVariant } from '../../types'
import { useStore } from '../../composables'
export interface BackgroundProps extends SVGAttributes {
interface BackgroundProps {
variant?: BackgroundVariant
gap?: number
color?: string
@@ -47,6 +46,11 @@ const d = computed(
}`,
)
</script>
<script lang="ts">
export default {
name: 'Background',
}
</script>
<template>
<svg class="vue-flow__background" style="width: 100%; height: 100%">
<pattern