fix(types): edge-text typing
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -20,7 +20,7 @@ interface BezierEdgeProps extends EdgeProps {
|
|||||||
| string
|
| string
|
||||||
| {
|
| {
|
||||||
component: any
|
component: any
|
||||||
props?: EdgeTextProps
|
props?: Record<string, any> & Partial<EdgeTextProps>
|
||||||
}
|
}
|
||||||
labelStyle?: CSSProperties
|
labelStyle?: CSSProperties
|
||||||
labelShowBg?: boolean
|
labelShowBg?: boolean
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ interface EdgeTextProps {
|
|||||||
| string
|
| string
|
||||||
| {
|
| {
|
||||||
component: any
|
component: any
|
||||||
props?: EdgeTextProps
|
props?: Record<string, any> & Partial<EdgeTextProps>
|
||||||
}
|
}
|
||||||
labelStyle?: CSSProperties
|
labelStyle?: CSSProperties
|
||||||
labelShowBg?: boolean
|
labelShowBg?: boolean
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ interface SmoothStepEdgeProps extends EdgeProps {
|
|||||||
| string
|
| string
|
||||||
| {
|
| {
|
||||||
component: any
|
component: any
|
||||||
props?: EdgeTextProps
|
props?: Record<string, any> & Partial<EdgeTextProps>
|
||||||
}
|
}
|
||||||
labelStyle?: CSSProperties
|
labelStyle?: CSSProperties
|
||||||
labelShowBg?: boolean
|
labelShowBg?: boolean
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ interface StepEdgeProps extends EdgeProps {
|
|||||||
| string
|
| string
|
||||||
| {
|
| {
|
||||||
component: any
|
component: any
|
||||||
props?: EdgeTextProps
|
props?: Record<string, any> & Partial<EdgeTextProps>
|
||||||
}
|
}
|
||||||
labelStyle?: CSSProperties
|
labelStyle?: CSSProperties
|
||||||
labelShowBg?: boolean
|
labelShowBg?: boolean
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ interface StraightEdgeProps extends EdgeProps {
|
|||||||
| string
|
| string
|
||||||
| {
|
| {
|
||||||
component: any
|
component: any
|
||||||
props?: EdgeTextProps
|
props?: Record<string, any> & Partial<EdgeTextProps>
|
||||||
}
|
}
|
||||||
labelStyle?: CSSProperties
|
labelStyle?: CSSProperties
|
||||||
labelShowBg?: boolean
|
labelShowBg?: boolean
|
||||||
|
|||||||
+1
-1
@@ -21,7 +21,7 @@ export interface Edge<T = any> {
|
|||||||
| string
|
| string
|
||||||
| {
|
| {
|
||||||
component: any
|
component: any
|
||||||
props?: EdgeTextProps
|
props?: Record<string, any> & Partial<EdgeTextProps>
|
||||||
}
|
}
|
||||||
labelStyle?: any
|
labelStyle?: any
|
||||||
labelShowBg?: boolean
|
labelShowBg?: boolean
|
||||||
|
|||||||
Reference in New Issue
Block a user