CometProps
Defined in: packages/react/src/Comet.tsx:7
Extends
Omit<CometLayer<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:83 |
color? | readonly | Accessor<T, string> | - | Omit.color | packages/core/src/scene/types.ts:77 |
data | readonly | readonly T[] | - | Omit.data | packages/core/src/scene/types.ts:72 |
endWidth? | readonly | Accessor<T, number> | - | Omit.endWidth | packages/core/src/scene/types.ts:79 |
gradient? | readonly | boolean | Fades opacity from 0 at the start to 1 at the end via a linear gradient. | Omit.gradient | packages/core/src/scene/types.ts:81 |
startWidth? | readonly | Accessor<T, number> | - | Omit.startWidth | packages/core/src/scene/types.ts:78 |
tooltip? | public | (d, i) => ReactNode | - | - | packages/react/src/Comet.tsx:8 |
x | readonly | Accessor<T, number> | - | Omit.x | packages/core/src/scene/types.ts:73 |
x2 | readonly | Accessor<T, number> | - | Omit.x2 | packages/core/src/scene/types.ts:75 |
y | readonly | Accessor<T, number> | - | Omit.y | packages/core/src/scene/types.ts:74 |
y2 | readonly | Accessor<T, number> | - | Omit.y2 | packages/core/src/scene/types.ts:76 |