diff --git a/src/components/TextUpdaterNode.tsx b/src/components/TextUpdaterNode.tsx new file mode 100644 index 0000000..bb58b76 --- /dev/null +++ b/src/components/TextUpdaterNode.tsx @@ -0,0 +1,32 @@ +import { useCallback } from 'react'; +import { Handle, Position } from 'reactflow'; + +const handleStyle = { left: 10 }; + +const TextUpdaterNode = ({ data }) => { + const onChange = useCallback(evt => { + console.log(evt.target.value); + }, []); + + return ( + <> + +
+ + +
+ + + + ); +};