fix(types): edge text type

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-22 21:38:31 +01:00
parent 0b57ee167e
commit 0dd5ed7836
8 changed files with 24 additions and 25 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
<script lang="ts" setup>
import { CSSProperties, DefineComponent } from 'vue'
import { CSSProperties } from 'vue'
import { ArrowHeadType, EdgeProps, EdgeTextProps, ElementId, Position } from '../../types'
import SmoothStepEdge from './SmoothStepEdge.vue'
@@ -18,7 +18,7 @@ interface StepEdgeProps extends EdgeProps {
label?:
| string
| {
component: DefineComponent<EdgeTextProps>
component: any
props?: EdgeTextProps
}
labelStyle?: CSSProperties