Skip to content

Custom tooltip labels

Compare
Choose a tag to compare
@grubersjoe grubersjoe released this 26 May 15:39
· 301 commits to main since this release

Thanks to @MarcioMeier a custom label can be set for the tooltip message now. The placeholders {{count}} and {{date}} are supported.

const labels = {
  tooltip: '<i>{{count}} views</i> on {{date}}'
};

<ActivityCalendar data={...} labels={labels} />