gantt-task-react-v 1.0.35 → 1.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/components/gantt/task-gantt.d.ts +1 -0
- package/dist/components/other/vertical-scroll.d.ts +1 -0
- package/dist/gantt-task-react.es.js +354 -390
- package/dist/gantt-task-react.umd.js +354 -390
- package/dist/style.css +36 -66
- package/dist/types/public-types.d.ts +0 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
9
|
```
|
|
10
|
-
npm install gantt-task-react
|
|
10
|
+
npm install webagility-gantt-task-react
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## How to use it
|
|
14
14
|
|
|
15
15
|
```ts
|
|
16
|
-
import { Gantt, Task, EventOption, StylingOption, ViewMode, DisplayOption } from 'gantt-task-react
|
|
17
|
-
import "gantt-task-react
|
|
16
|
+
import { Gantt, Task, EventOption, StylingOption, ViewMode, DisplayOption } from 'gantt-task-react';
|
|
17
|
+
import "gantt-task-react/dist/index.css";
|
|
18
18
|
|
|
19
19
|
let tasks: Task[] = [
|
|
20
20
|
{
|
|
@@ -10,6 +10,7 @@ export interface TaskGanttProps extends GanttTaskBarActions {
|
|
|
10
10
|
fullRowHeight: number;
|
|
11
11
|
fullSvgWidth: number;
|
|
12
12
|
ganttFullHeight: number;
|
|
13
|
+
ganttHeight: number;
|
|
13
14
|
ganttSVGRef: RefObject<SVGSVGElement>;
|
|
14
15
|
ganttTodayProps: GanttTodayProps;
|
|
15
16
|
horizontalContainerRef: RefObject<HTMLDivElement>;
|