Shape component.

A Shape is a custom geometry on the map created from a GeoJSON feature collection.

<Shape geometry={geojson} style={{ color: 'blue', height: 2 }} />

Properties

$$typeof: symbol
displayName?: string

Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.

propTypes?: any

Ignored by React.

Only kept in types for backwards compatibility. Will be removed in a future major release.