An open API service indexing awesome lists of open source software.

https://github.com/ahwgs/react-gantt

Gantt Component for React
https://github.com/ahwgs/react-gantt

component gantt gantt-chart react

Last synced: about 1 month ago
JSON representation

Gantt Component for React

Awesome Lists containing this project

README

        


rc-gantt


React Gantt Component


English | [简体中文](./README.zh-CN.md)

## 🐯 Infos

[![NPM version][npm-badge]][npm-url]
[![NPM downloads][npm-downloads]][npm-url]

[npm-badge]: https://img.shields.io/npm/v/rc-gantt.svg?style=flat
[npm-url]: https://www.npmjs.com/package/rc-gantt
[npm-downloads]: http://img.shields.io/npm/dm/rc-gantt.svg?style=flat

## WebSite

[https://ahwgs.github.io/react-gantt/en-US](https://ahwgs.github.io/react-gantt/en-US)

## Quick Start

```bash
# Install Dependencies
$ yarn add rc-gantt

# Use

import RcGantt, { GanttProps, enUS } from 'rc-gantt'

const data = new Array(100).fill({
name: 'Title',
startDate: '2021-07-10',
endDate: '2021-07-12',
collapsed: false,
children: [
{
startDate: '2021-07-10',
endDate: '2021-07-12',
name: 'TitleTitle',
collapsed: false,
content: '123123123',
},
],
})

const App = () => {
return (


{
return true
}}
/>

)
}

ReactDOM.render(, document.getElementById('root'))
```

## Feedback

Please visit [Github](https://github.com/ahwgs/react-gantt/issues) Or add WeChat, note `rc-gantt`

WeChat ID: JavaScript_97