File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " react-github-calendar-example" ,
33 "homepage" : " https://grubersjoe.github.io/react-github-calendar/" ,
4- "version" : " 3.1.3 " ,
4+ "version" : " 3.2.0 " ,
55 "license" : " MIT" ,
66 "private" : true ,
77 "dependencies" : {
88 "react" : " link:../node_modules/react" ,
99 "react-dom" : " link:../node_modules/react-dom" ,
1010 "react-github-calendar" : " link:.." ,
1111 "react-scripts" : " ^4.0.0" ,
12- "react-syntax-highlighter" : " ^15.4.4 " ,
12+ "react-syntax-highlighter" : " ^15.4.5 " ,
1313 "react-tooltip" : " ^4.2.21" ,
1414 "typeface-public-sans" : " ^1.1.13"
1515 },
Original file line number Diff line number Diff line change @@ -268,6 +268,28 @@ const Demo: FunctionComponent = () => {
268268 compatible date string used in tooltips.
269269 </ td >
270270 </ tr >
271+ < tr >
272+ < td > eventHandlers</ td >
273+ < td >
274+ (event: SyntheticEvent)
275+ < br />
276+ { '=>' } (data: Day)
277+ < br />
278+ { '=>' } void
279+ </ td >
280+ < td > {}</ td >
281+ < td >
282+ Map of event handlers to register for the SVG{ ' ' }
283+ < code >
284+ { '<' } rect{ '>' }
285+ </ code > { ' ' }
286+ elements that are used to render the calendar days. See this{ ' ' }
287+ < a href = "https://grubersjoe.github.io/react-activity-calendar/?path=/story/activity-calendar--event-handlers" >
288+ example
289+ </ a >
290+ .
291+ </ td >
292+ </ tr >
271293 < tr >
272294 < td > fontSize</ td >
273295 < td > number</ td >
You can’t perform that action at this time.
0 commit comments