gantt-react-typescript-vendored
v0.4.3
Published
Frappe Gantt components for React wrapper, using whatever Frappe Gantt instance is passed in
Downloads
2
Maintainers
Readme
gantt-for-react
Frappe Gantt component for React wrapper, used with vendored definitions of Frappe Gantt.
This is a fork of another wrapper, which uses the Frappe Gantt from dependencies.
1. Install
npm install --save gantt-react-typescript-vendored
2. Usage
import * as React from 'react';
import ReactGantt from 'gantt-react-typescript-vendored';
<ReactGantt
tasks={this.getTasks()}
view_mode={this.state.viewMode}
on_click={this._func}
on_date_change={this._func}
on_progress_change={this._func}
on_view_change={this._func}
custom_popup_html={this._html_func}
/>
3. LICENSE
MIT