AnnotateProps
Defined in: packages/react/src/Annotate.tsx:6
Extends
Omit<AnnotateLayer<T>,"type">
Type Parameters
| Type Parameter |
|---|
T |
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
className? | readonly | string | Applied as the <text> element's class attribute; styling escape hatch (PRD §8.7). | Omit.className | packages/core/src/scene/types.ts:41 |
data | readonly | readonly T[] | - | Omit.data | packages/core/src/scene/types.ts:34 |
label | readonly | Accessor<T, string> | - | Omit.label | packages/core/src/scene/types.ts:37 |
offsetX? | readonly | Accessor<T, number> | - | Omit.offsetX | packages/core/src/scene/types.ts:38 |
offsetY? | readonly | Accessor<T, number> | - | Omit.offsetY | packages/core/src/scene/types.ts:39 |
tooltip? | public | (d, i) => ReactNode | - | - | packages/react/src/Annotate.tsx:7 |
x | readonly | Accessor<T, number> | - | Omit.x | packages/core/src/scene/types.ts:35 |
y | readonly | Accessor<T, number> | - | Omit.y | packages/core/src/scene/types.ts:36 |