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:
Braks
2021-12-20 19:29:52 +01:00
parent fe4798ea5b
commit ca33de0556
2 changed files with 50 additions and 6 deletions
+6 -1
View File
@@ -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