Skip to content

Commit 4c46949

Browse files
authored
docs: fix syntax errors in custom nodes and edges example (#17)
1 parent a535453 commit 4c46949

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,10 +226,10 @@ import { Handle, type NodeProps } from "@dschz/solid-flow";
226226
function CustomNode(props: NodeProps<{ label: string }, "custom">) {
227227
return (
228228
<div class="custom-node" style={{ padding: "10px", background: "white" }}>
229-
<Handle type="target" position="top />
229+
<Handle type="target" position="top" />
230230
<div>{props.data.label}</div>
231231
<Handle type="source" position="bottom" id="output-a" />
232-
<Handle type="source" position="bottom id="output-b" style={{ left: "80%" }} />
232+
<Handle type="source" position="bottom" id="output-b" style={{ left: "80%" }} />
233233
</div>
234234
);
235235
}

0 commit comments

Comments
 (0)