0.5.2 • Published 4 months ago
kvandake-rc-gantt v0.5.2
English | 简体中文
WebSite
https://ahwgs.github.io/react-gantt/#/en-US
Quick Start
# 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 (
<div style={{ width: '100%', height: 500 }}>
<RcGantt
data={data}
locale={enUS}
columns={[
{
name: 'name',
label: 'Title',
width: 200,
maxWidth: 200,
minWidth: 200,
},
]}
onUpdate={async () => {
return true
}}
/>
</div>
)
}
ReactDOM.render(<App />, document.getElementById('root'))
Feedback
Please visit Github Or add WeChat, note rc-gantt
WeChat ID: JavaScript_97
0.5.2
4 months ago
0.5.1
4 months ago
0.5.0
5 months ago
0.4.9
6 months ago
0.4.8
6 months ago
0.4.7
6 months ago
0.4.6
6 months ago
0.4.5
6 months ago
0.4.4
6 months ago
0.4.3
6 months ago
0.4.2
6 months ago
0.4.1
6 months ago
0.4.0
6 months ago
0.3.9
6 months ago
0.3.8
6 months ago
0.3.7
6 months ago
0.3.6
6 months ago
0.3.5
6 months ago
0.3.4
6 months ago
0.3.3
6 months ago
0.3.2
6 months ago