/gantt-react-vendored

Primary LanguageTypeScriptMIT LicenseMIT

gantt-for-react

Frappe Gantt component for React wrapper, used with vendored definitions of Frappe Gantt.

npm npm npm

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