refactor(types): use types for prop type functions
This commit is contained in:
@@ -11,7 +11,7 @@ interface EdgeRendererProps {
|
||||
edgeTypes: any;
|
||||
connectionLineStyle?: CSSProperties;
|
||||
connectionLineType?: string;
|
||||
onElementClick?: () => void;
|
||||
onElementClick?: (element: Node | Edge) => void;
|
||||
}
|
||||
|
||||
interface EdgePositions {
|
||||
|
||||
Reference in New Issue
Block a user