Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 28 days ago
JSON representation
Calendar graph like github for react.
- Host: GitHub
- URL: https://github.com/afeiship/react-calendar-graph
- Owner: afeiship
- License: mit
- Created: 2017-08-07T11:40:19.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-09-18T15:18:10.000Z (over 1 year ago)
- Last Synced: 2024-05-19T00:31:00.402Z (8 months ago)
- Topics: calendar, github, graph, react
- Language: TypeScript
- Homepage:
- Size: 789 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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