Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brandonxiang/rc-gantt-chart
web gantt powered by react
https://github.com/brandonxiang/rc-gantt-chart
Last synced: 9 days ago
JSON representation
web gantt powered by react
- Host: GitHub
- URL: https://github.com/brandonxiang/rc-gantt-chart
- Owner: brandonxiang
- Created: 2022-11-04T03:17:45.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-03T06:55:53.000Z (10 months ago)
- Last Synced: 2024-10-11T12:58:22.363Z (about 1 month ago)
- Language: TypeScript
- Homepage: https://gantt.brandonxiang.top
- Size: 264 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# rc-gantt-chart 甘特图的React实现
## 安装
```bash
pnpm i rc-gantt-chart antd
```## 使用
```javascript
import Gantt from 'rc-gantt-chart';
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
)```
## 参数说明
参数名 | 解释 | 格式
---------|----------|---------
data | 甘特图的 |
startDate | 开始时间 | Moment时间对象
endDate | 结束时间 | Moment时间对象