* We must make sure the builder supports the equivalent of this tsx syntax ```tsx <component> {pins.map((label, i) => ( <> <platedhole net={label} x={`${i * 2.5}mm`} y={0} outerDiameter="2mm" holeDiameter="1mm" /> <port port net={label} x="-0.25in" y={`${i * 0.25}in`} /> <schematicdrawing> <box w="0.5in" h="1in" x="0" y="0" /> {pins.map((label, i) => ( <line x1={"-0.25in"} y1={`${0.1 + 0.2 * i}in`} x2={"0in"} y2={`${0.1 + 0.2 * i}in`} /> ))} </schematicdrawing> </> ))} </component> ``` The work for this is in the `generic-component-builder.test.ts`
The work for this is in the
generic-component-builder.test.ts