fix(types): edge-text typing

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-25 15:21:36 +01:00
parent 96d54c59dc
commit 7916b20a99
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ interface BezierEdgeProps extends EdgeProps {
| string
| {
component: any
props?: EdgeTextProps
props?: Record<string, any> & Partial<EdgeTextProps>
}
labelStyle?: CSSProperties
labelShowBg?: boolean
+1 -1
View File
@@ -8,7 +8,7 @@ interface EdgeTextProps {
| string
| {
component: any
props?: EdgeTextProps
props?: Record<string, any> & Partial<EdgeTextProps>
}
labelStyle?: CSSProperties
labelShowBg?: boolean
+1 -1
View File
@@ -20,7 +20,7 @@ interface SmoothStepEdgeProps extends EdgeProps {
| string
| {
component: any
props?: EdgeTextProps
props?: Record<string, any> & Partial<EdgeTextProps>
}
labelStyle?: CSSProperties
labelShowBg?: boolean
+1 -1
View File
@@ -19,7 +19,7 @@ interface StepEdgeProps extends EdgeProps {
| string
| {
component: any
props?: EdgeTextProps
props?: Record<string, any> & Partial<EdgeTextProps>
}
labelStyle?: CSSProperties
labelShowBg?: boolean
+1 -1
View File
@@ -20,7 +20,7 @@ interface StraightEdgeProps extends EdgeProps {
| string
| {
component: any
props?: EdgeTextProps
props?: Record<string, any> & Partial<EdgeTextProps>
}
labelStyle?: CSSProperties
labelShowBg?: boolean
+1 -1
View File
@@ -21,7 +21,7 @@ export interface Edge<T = any> {
| string
| {
component: any
props?: EdgeTextProps
props?: Record<string, any> & Partial<EdgeTextProps>
}
labelStyle?: any
labelShowBg?: boolean