fix(edges): add props to smoothstep edge explicitly
* plugin doesn't allow for nested/extended types currently Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
+6
-1
@@ -39,7 +39,12 @@ export interface GraphNode<T = any> extends Node<T> {
|
||||
}
|
||||
|
||||
export interface NodeProps<T = any> {
|
||||
label?: string
|
||||
label?:
|
||||
| string
|
||||
| {
|
||||
props?: any
|
||||
component: any
|
||||
}
|
||||
class?: string
|
||||
style?: CSSProperties
|
||||
hidden?: boolean
|
||||
|
||||
Reference in New Issue
Block a user