PitchKit
API Reference@pitchkit/reactInterfaces

FlowProps

Defined in: packages/react/src/Flow.tsx:6

Extends

Type Parameters

Type Parameter
T

Properties

PropertyModifierTypeDescriptionInherited fromDefined in
binsX?readonlynumber-Omit.binsXpackages/core/src/scene/types.ts:289
binsY?readonlynumber-Omit.binsYpackages/core/src/scene/types.ts:290
className?readonlystringApplied as every arrow's class attribute; styling escape hatch (docs/architecture.md#theming-and-styling).Omit.classNamepackages/core/src/scene/types.ts:300
colorMax?readonlystringColor at the highest bin count in the layer's data.Omit.colorMaxpackages/core/src/scene/types.ts:294
colorMin?readonlystringColor at the lowest bin count in the layer's data.Omit.colorMinpackages/core/src/scene/types.ts:292
datareadonlyreadonly T[]-Omit.datapackages/core/src/scene/types.ts:284
strokeWidthMax?readonlynumberArrow stroke width at the highest bin count.Omit.strokeWidthMaxpackages/core/src/scene/types.ts:298
strokeWidthMin?readonlynumberArrow stroke width at the lowest bin count.Omit.strokeWidthMinpackages/core/src/scene/types.ts:296
tooltip?public(bin, i) => ReactNodePer-bin (not per-datum) — the rendered arrows are aggregates, one per occupied grid cell.-packages/react/src/Flow.tsx:8
xreadonlyAccessor<T, number>-Omit.xpackages/core/src/scene/types.ts:285
x2readonlyAccessor<T, number>-Omit.x2packages/core/src/scene/types.ts:287
yreadonlyAccessor<T, number>-Omit.ypackages/core/src/scene/types.ts:286
y2readonlyAccessor<T, number>-Omit.y2packages/core/src/scene/types.ts:288

On this page