feat: Add slots to edges and nodes

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-18 03:19:13 +01:00
parent f22a3baa90
commit 8b82c4fb33
8 changed files with 70 additions and 50 deletions
+3 -1
View File
@@ -44,5 +44,7 @@ const props = withDefaults(defineProps<StepEdgeProps>(), {
})
</script>
<template>
<SmoothStepEdge v-bind="props" :border-radius="0" />
<SmoothStepEdge v-bind="props" :border-radius="0">
<slot />
</SmoothStepEdge>
</template>