1.4.1 β€’ Published 2 years ago

contribution-heatmap v1.4.1

Weekly downloads
-
License
WTFPL
Repository
github
Last release
2 years ago

contribution-heatmap

a react contribution heatmap calendar component.

do feel free to mark the repo by starring it. below lies some useful links to, hopefully, get you to know this component better:

πŸ“Œ reporting bugs

feel free to post any, but please check issues before posting.

🀀 usage

to install the library as a dependency to your project, run

yarn add contribution-heatmap
# or, according to your preference
npm install contribution-heatmap

import the library in your project like below, and you can get started using it directly.

// simply import the library, no css-imports needed
import { Heatmap } from "contribution-heatmap"
// and then ... just use it like you would any components
export const YourComponent = () => <Heatmap 
    colour={['#ebedf0', '#c6e48b', '#40c463', '#30a14e', '#216e39']} 
    squareNumber={5} 
    count={[3, 2, 20, 1, 14]}
    squareGap='4px'
    squareSize='15px'
/>

more details on props will come soon. I am making progress, albeit rather slowlyβ€”many things are happening lately.

πŸ™‹β€β™‚οΈ contributing

resolving issues, implementing features or even just eliminating the simplest bugs like typos in the repository will be highly appreciated πŸŽ‰. also, feel free to share your ideas in the discussions page.

here I list some starter scripts to run for making contributions to the repo; for the detailed version please go to CONTRIBUTING.md.

πŸ›  install dependencies

yarn

πŸ”¨ get storybook up and running for previewing

yarn storybook

πŸ“¦ compiles and minifies for production

yarn build:major
yarn build:minor
yarn build:patch
1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.10

2 years ago

1.4.1

2 years ago

1.3.2

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

0.0.9

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago