MCPcopy Create free account
hub / github.com/QuarkGluonPlasma/react-course-code / BlueNode

Function BlueNode

react-flow-test/src/App.tsx:25–32  ·  view source on GitHub ↗
({ data }: NodePorps)

Source from the content-addressed store, hash-verified

23}
24
25function BlueNode({ data }: NodePorps) {
26 return <div style={{background: 'blue', width: '50px', height: '50px', textAlign: 'center', color: '#fff'}}>
27 <Handle type="source" position={Position.Bottom} />
28 <Handle type="target" position={Position.Top} />
29
30 <div>{data.label}</div>
31 </div>
32}
33
34function CustomEdge({
35 id,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected