You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -184,7 +184,34 @@ Example:
184
184
```
185
185
186
186
See this [example `<SelectionDot />` component](./example/src/components/CustomSelectionDot.tsx).
187
+
### `events`
188
+
An array of events to be marked in the graph. The position is calculated based on the `date` property of each event relatively to `points` of the graph.
187
189
190
+
### `EventComponent`
191
+
A component that is used to render an event.
192
+
193
+
### `EventTooltipComponent`
194
+
An additional event component that is rendered if the `SelectionDot` overlaps an `Event`.
195
+
196
+
### `onEventHover`
197
+
Callback called when an `Event` is hovered on.
198
+
199
+
> Events related props require `animated` and `enablePanGesture` to be `true`.
0 commit comments