feat(nodes): add class name option closes #254

This commit is contained in:
moklick
2020-05-28 11:22:51 +02:00
parent a3c5d235bf
commit a555df0458
7 changed files with 51 additions and 25 deletions
+2
View File
@@ -37,6 +37,7 @@ export interface Node {
__rg?: any;
data?: any;
style?: CSSProperties;
className?: string;
targetPosition?: Position;
sourcePosition?: Position;
}
@@ -128,6 +129,7 @@ export interface WrapNodeProps {
onNodeDragStart?: (node: Node) => void;
onNodeDragStop?: (node: Node) => void;
style?: CSSProperties;
className?: string;
sourcePosition?: Position;
targetPosition?: Position;
}