PolygonProps
Defined in: packages/react/src/Polygon.tsx:6
Extends
Omit<PolygonLayer<T>,"type">
Type Parameters
| Type Parameter |
|---|
T |
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
className? | readonly | string | Applied as every polygon's class attribute; styling escape hatch (PRD §8.7). | Omit.className | packages/core/src/scene/types.ts:149 |
data | readonly | readonly T[] | - | Omit.data | packages/core/src/scene/types.ts:142 |
fill? | readonly | Accessor<T, string> | - | Omit.fill | packages/core/src/scene/types.ts:144 |
fillOpacity? | readonly | Accessor<T, number> | - | Omit.fillOpacity | packages/core/src/scene/types.ts:145 |
points | readonly | Accessor<T, readonly readonly [number, number][]> | - | Omit.points | packages/core/src/scene/types.ts:143 |
stroke? | readonly | Accessor<T, string> | - | Omit.stroke | packages/core/src/scene/types.ts:146 |
strokeWidth? | readonly | Accessor<T, number> | - | Omit.strokeWidth | packages/core/src/scene/types.ts:147 |
tooltip? | public | (d, i) => ReactNode | - | - | packages/react/src/Polygon.tsx:7 |