API Reference@pitchkit/reactInterfaces GoalShotsProps
Defined in: packages/react/src/GoalShots.tsx:6
| Property | Modifier | Type | Description | Defined in |
|---|
className? | readonly | string | - | packages/react/src/GoalShots.tsx:20 |
data | readonly | readonly T[] | - | packages/react/src/GoalShots.tsx:7 |
fill? | readonly | Accessor<T, string> | - | packages/react/src/GoalShots.tsx:16 |
fillOpacity? | readonly | Accessor<T, number> | - | packages/react/src/GoalShots.tsx:17 |
r? | readonly | Accessor<T, number> | - | packages/react/src/GoalShots.tsx:15 |
stroke? | readonly | Accessor<T, string> | - | packages/react/src/GoalShots.tsx:18 |
strokeWidth? | readonly | Accessor<T, number> | - | packages/react/src/GoalShots.tsx:19 |
tooltip? | readonly | (d, i) => ReactNode | - | packages/react/src/GoalShots.tsx:21 |
y | readonly | Accessor<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 |
z | readonly | Accessor<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 |