PitchKit
API Reference@pitchkit/reactInterfaces

GoalShotsProps

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

Type Parameters

Type Parameter
T

Properties

PropertyModifierTypeDescriptionDefined in
className?readonlystring-packages/react/src/GoalShots.tsx:20
datareadonlyreadonly T[]-packages/react/src/GoalShots.tsx:7
fill?readonlyAccessor<T, string>-packages/react/src/GoalShots.tsx:16
fillOpacity?readonlyAccessor<T, number>-packages/react/src/GoalShots.tsx:17
r?readonlyAccessor<T, number>-packages/react/src/GoalShots.tsx:15
stroke?readonlyAccessor<T, string>-packages/react/src/GoalShots.tsx:18
strokeWidth?readonlyAccessor<T, number>-packages/react/src/GoalShots.tsx:19
tooltip?readonly(d, i) => ReactNode-packages/react/src/GoalShots.tsx:21
yreadonlyAccessor<T, number | null | undefined>Across the goal, in the view's type units: StatsBomb's endY (end_location[1]).packages/react/src/GoalShots.tsx:9
zreadonlyAccessor<T, number | null | undefined>Height off the ground, in the view's type units: StatsBomb's endZ (end_location[2]). A shot without one is not drawn.packages/react/src/GoalShots.tsx:14

On this page