fix(types): node/edge label type

* add Component to label type
This commit is contained in:
Braks
2022-04-11 11:30:10 +02:00
parent 88f808711a
commit 440ad3c681
5 changed files with 6 additions and 15 deletions
+1 -6
View File
@@ -6,12 +6,7 @@ interface Props {
centerX: number
centerY: number
path: string
label?:
| string
| {
props?: any
component: any
}
label?: any
style?: CSSProperties
labelStyle?: any
labelShowBg?: boolean