📦 Installation
Install the primary package using your package manager of choice.
- PNPM
- NPM
pnpm i @ngeenx/nx-react-calendar-heatmap
npm i @ngeenx/nx-react-calendar-heatmap
Peer Dependencies
This library requires tippy.js and luxon (the successor to Moment.js) as peer dependencies. We are using tippy.js
for the tooltip and luxon
for date time manipulation.
Also, we need @ngeenx/nx-calendar-heatmap-utils
for the calendar heatmap utils.
You can install them using the following commands:
- PNPM
- NPM
pnpm i @ngeenx/nx-calendar-heatmap-utils tippy.js luxon
npm i @ngeenx/nx-calendar-heatmap-utils tippy.js luxon
Types
Optionally, you can install the types for luxon
using the following commands:
- PNPM
- NPM
pnpm i @types/luxon -D
npm i @types/luxon -D