fix: remove vue from dev-deps

* fix default prop types
This commit is contained in:
Braks
2022-04-04 21:42:48 +02:00
parent a686d62528
commit 9b08271696
11 changed files with 11 additions and 173 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ const props = withDefaults(defineProps<EdgeProps>(), {
sourcePosition: 'bottom' as Position,
targetPosition: 'top' as Position,
labelStyle: () => ({}),
label: () => '',
label: '',
labelShowBg: true,
labelBgStyle: () => ({}),
})
@@ -9,7 +9,7 @@ const props = withDefaults(defineProps<EdgeProps>(), {
sourcePosition: 'bottom' as Position,
targetPosition: 'top' as Position,
labelStyle: () => ({}),
label: () => '',
label: '',
labelShowBg: true,
labelBgStyle: () => ({}),
})
@@ -8,7 +8,7 @@ const props = withDefaults(defineProps<SmoothStepEdgeProps>(), {
selected: false,
sourcePosition: 'bottom' as Position,
targetPosition: 'top' as Position,
label: () => '',
label: '',
labelStyle: () => ({}),
labelShowBg: true,
labelBgStyle: () => ({}),
+1 -1
View File
@@ -7,7 +7,7 @@ const props = withDefaults(defineProps<EdgeProps>(), {
selected: false,
sourcePosition: 'bottom' as Position,
targetPosition: 'top' as Position,
label: () => '',
label: '',
labelStyle: () => ({}),
labelShowBg: true,
labelBgStyle: () => ({}),
@@ -7,7 +7,7 @@ const props = withDefaults(defineProps<EdgeProps>(), {
selected: false,
sourcePosition: 'bottom' as Position,
targetPosition: 'top' as Position,
label: () => '',
label: '',
labelStyle: () => ({}),
labelShowBg: true,
labelBgStyle: () => ({}),