Skip to content

version 1.0.0

Compare
Choose a tag to compare
@KnowsCount KnowsCount released this 09 Mar 04:52
· 31 commits to main since this release

in version 1.0.0, I am happy to finally introduce a fully-functioning heatmap. if you like this, don't forget to spam frontend related discord servers with the link to this repo, as this would really help raise good words of the repo.


features


props

you can presently pass in three props:

  • colours: the colour of the squares from lightest to darkest, for each data-level from 0 to 4. example: ['#ebedf0', '#c6e48b', '#40c463', '#30a14e', '#216e39'].
  • squaresNumber: the number of squares to display. example: 365.
  • count: an array of contribution (commit) count for each square. example: [5, 3, 22, 3, 1].