Refactor #4149 - For Tree

This commit is contained in:
Tuğçe Küçükoğlu 2023-07-19 15:57:15 +03:00
parent fd8ec80581
commit 4532253422
2 changed files with 12 additions and 1 deletions

View file

@ -212,6 +212,10 @@ export interface TreeState {
* Defines current options in Tree component.
*/
export interface TreeContext {
/**
* Index of the node.
*/
index: number;
/**
* Current expanded state of the node as a boolean.
* @defaultValue false
@ -227,6 +231,11 @@ export interface TreeContext {
* @defaultValue false
*/
checked: boolean;
/**
* Current leaf state of the node as a boolean.
* @defaultValue false
*/
leaf: boolean;
}
/**