refactor(types): use types for prop type functions

This commit is contained in:
moklick
2020-05-15 21:53:13 +02:00
parent b887568ac8
commit 1e447a204c
8 changed files with 32 additions and 36 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ const onDrag = (
};
const onStop = (
onNodeDragStop: (params: Node) => void,
onNodeDragStop: (node: Node) => void,
isDragging: boolean,
setDragging: (isDragging: boolean) => void,
id: ElementId,