ShapeComponent
ShapeComponent<
T>(props):Element
A component that renders an SVG shape from a shape library. For many SVG use cases you might want to look into using a DiagramComponent in preference to a SurfaceComponent or PaperComponent that renders vertices with a ShapeComponent - take a look through the docs for discussions of the pros and cons of each.
Type Parameters
T
T extends Vertex
Parameters
props
Returns
Element