https://github.com/afeiship/react-calendar-graph
Calendar graph like github for react.
https://github.com/afeiship/react-calendar-graph
calendar github graph react
Last synced: 4 months ago
JSON representation
Calendar graph like github for react.
- Host: GitHub
- URL: https://github.com/afeiship/react-calendar-graph
- Owner: afeiship
- Created: 2017-08-07T11:40:19.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-11-16T04:30:16.000Z (over 1 year ago)
- Last Synced: 2025-05-22T22:10:02.705Z (about 1 year ago)
- Topics: calendar, github, graph, react
- Language: TypeScript
- Homepage: https://afeiship.github.io/react-calendar-graph/
- Size: 949 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-wepy - wepy-uploader:Uploader for wechat/weapp based on wepy
README
# react-calendar-graph
> Calendar graph like github for react.
[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]
## installation
```shell
npm install -S @jswork/react-calendar-graph
```
## usage
```js
import ReactCalendarGraph from '@jswork/react-calendar-graph';
import '@jswork/react-calendar-graph/dist/style.scss';
import dataJson from './assets/data.json';
import { useEffect, useState } from 'react';
function App() {
const [v, setV] = useState([]);
useEffect(() => {
setTimeout(() => {
setV(dataJson);
}, 100);
}, []);
return (
Build Time: {BUILD_TIME}
);
}
export default App;
```
## preview
- https://afeiship.github.io/react-calendar-graph/
## license
Code released under [the MIT license](https://github.com/afeiship/react-calendar-graph/blob/master/LICENSE.txt).
[version-image]: https://img.shields.io/npm/v/@jswork/react-calendar-graph
[version-url]: https://npmjs.org/package/@jswork/react-calendar-graph
[license-image]: https://img.shields.io/npm/l/@jswork/react-calendar-graph
[license-url]: https://github.com/afeiship/react-calendar-graph/blob/master/LICENSE.txt
[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/react-calendar-graph
[size-url]: https://github.com/afeiship/react-calendar-graph/blob/master/dist/react-calendar-graph.min.js
[download-image]: https://img.shields.io/npm/dm/@jswork/react-calendar-graph
[download-url]: https://www.npmjs.com/package/@jswork/react-calendar-graph