react-heatmap-github

React component for Github contribution heatmaps

Usage no npm install needed!

<script type="module">
  import reactHeatmapGithub from 'https://cdn.skypack.dev/react-heatmap-github';
</script>

README

Welcome to react-heatmap-github 👋

Version Documentation Maintenance License: MIT

React component for Github contribution heatmaps

🏠 Homepage

Install

npm install react-heatmap-github

Usage

import { Heatmap } from 'react-heatmap-github'

<Heatmap values={[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]} />

let randomData = new Array(364).fill(null).map(() => Math.floor(Math.random()*(9+1)))

<Heatmap values={randomData} />

Author

👤 zubhav

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page. You can also take a look at the contributing guide.

📝 License

Copyright © 2021 zubhav.

This project is MIT licensed.


This README was generated with ❤️ by readme-md-generator