import { useCallback } from 'react'; import { Handle, NodeProps, Position } from 'reactflow'; import styles from './index.less'; const handleStyle = { left: 10 }; export function TextUpdaterNode({ data, isConnectable = true, }: NodeProps<{ value: number }>) { const onChange = useCallback((evt) => { console.log(evt.target.value); }, []); return (
{/* */}
); }