Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/soaple/stickyboard-github-calendar
GitHub calendar component for StickyBoard
https://github.com/soaple/stickyboard-github-calendar
Last synced: 15 days ago
JSON representation
GitHub calendar component for StickyBoard
- Host: GitHub
- URL: https://github.com/soaple/stickyboard-github-calendar
- Owner: soaple
- License: mit
- Created: 2020-08-17T19:09:33.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-11T08:53:36.000Z (about 4 years ago)
- Last Synced: 2024-09-23T07:18:06.673Z (about 2 months ago)
- Language: JavaScript
- Size: 14.6 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# stickyboard-github-calendar
GitHub calendar component for StickyBoard[![Version](https://img.shields.io/npm/v/@stickyboard/github-calendar.svg)](https://npmjs.org/package/@stickyboard/github-calendar)
[![Downloads/week](https://img.shields.io/npm/dw/@stickyboard/github-calendar.svg)](https://npmjs.org/package/@stickyboard/github-calendar)
[![License](https://img.shields.io/npm/l/@stickyboard/github-calendar.svg)](https://github.com/soaple/@stickyboard/github-calendar/blob/master/package.json)# Webpack watch
```bsh
$ npm start
```# Build
```bsh
$ npm run build
```# Usage example
```javascript
import React from 'react';
import { GitHubCalendar } from '@stickyboard/github-calendar';const sampleData = [
{ date: '2020-01-01', count: 10 },
{ date: '2020-02-01', count: 20 },
{ date: '2020-03-01', count: 30 },
{ date: '2020-04-01', count: 5 },
{ date: '2020-05-01', count: 7 },
{ date: '2020-06-01', count: 12 },
{ date: '2020-07-01', count: 16 },
{ date: '2020-08-01', count: 21 },
{ date: '2020-09-01', count: 19 },
...
];function SampleGitHubCalendar(props) {
return (
);
}export default SampleGitHubCalendar;
```
# License
This project is licenced under the [MIT License](http://opensource.org/licenses/mit-license.html).