diff --git a/example/src/CustomNode/ColorSelectorNode.tsx b/example/src/CustomNode/ColorSelectorNode.tsx index 6ce49f14..7ad20340 100644 --- a/example/src/CustomNode/ColorSelectorNode.tsx +++ b/example/src/CustomNode/ColorSelectorNode.tsx @@ -8,7 +8,7 @@ const sourceHandleStyleB: CSSProperties = { ...targetHandleStyle, bottom: 10, to const onConnect = (params: Connection | Edge) => console.log('handle onConnect', params); -const ColorSelectorNode: FC = ({ data }) => { +const ColorSelectorNode: FC = ({ data, isConnectable }) => { return ( <> @@ -16,8 +16,8 @@ const ColorSelectorNode: FC = ({ data }) => { Custom Color Picker Node: {data.color} - - + + ); };