rsvg-path
A simple React component for SVG paths.
Use it like this:
; Component { const path = vertices: x: 0 y: 0 x: 0 y: 10 x: 10 y: 10 return <RSVGPath geometry=path segmentType=RSVGSegmentTypesLINEAR/>; };
To get this SVG:
<path d="M 0 0 L 0 10 L 10 10 L 0 0"/>
Also has support for paths with arc or quadratic bezier segments (docs TODO).