GoalShots()
function GoalShots<T>(__namedParameters): Element;Defined in: packages/react/src/GoalShots.tsx:38
One <circle> per shot, where it crossed the goal line, inside a
<GoalView>. The goal view's <Scatter>: the same accessor props, with
y and z for across and up.
A shot outside the view is pinned just inside its edge and carries
data-pitchkit-clamped, so a shot far wide still shows which side it
went. A shot with no height (StatsBomb's blocked and wayward shots) is
not drawn.
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
__namedParameters | GoalShotsProps<T> |
Returns
Element