gantt-task-react
Advanced tools
Comparing version 0.3.3 to 0.3.4
@@ -12,2 +12,3 @@ import React from "react"; | ||
setSelectedTask: (taskId: string) => void; | ||
onExpanderClick: (task: Task) => void; | ||
}>; |
@@ -18,2 +18,3 @@ import React from "react"; | ||
setSelectedTask: (task: string) => void; | ||
onExpanderClick: (task: Task) => void; | ||
TaskListHeader: React.FC<{ | ||
@@ -34,4 +35,5 @@ headerHeight: number; | ||
setSelectedTask: (taskId: string) => void; | ||
onExpanderClick: (task: Task) => void; | ||
}>; | ||
}; | ||
export declare const TaskList: React.FC<TaskListProps>; |
@@ -7,1 +7,2 @@ /// <reference types="react" /> | ||
export declare function isBarTask(task: Task | BarTask): task is BarTask; | ||
export declare function removeHiddenTasks(tasks: Task[]): Task[]; |
@@ -30,2 +30,3 @@ /// <reference types="react" /> | ||
dependencies?: string[]; | ||
hideChildren?: boolean; | ||
} | ||
@@ -57,2 +58,6 @@ export interface EventOption { | ||
onDelete?: (task: Task) => void | boolean | Promise<void> | Promise<boolean>; | ||
/** | ||
* Invokes on expander on task list | ||
*/ | ||
onExpanderClick?: (task: Task) => void; | ||
} | ||
@@ -118,2 +123,3 @@ export interface DisplayOption { | ||
setSelectedTask: (taskId: string) => void; | ||
onExpanderClick: (task: Task) => void; | ||
}>; | ||
@@ -120,0 +126,0 @@ } |
{ | ||
"name": "gantt-task-react", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"description": "Interactive Gantt Chart for React with TypeScript.", | ||
@@ -5,0 +5,0 @@ "author": "MaTeMaTuK <maksym.vikarii@gmail.com>", |
@@ -138,2 +138,3 @@ # gantt-task-react | ||
| project | string | Task project name | | ||
| hideChildren | bool | Hide children items. | | ||
@@ -140,0 +141,0 @@ \*Required |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
590739
5063
145
40