Update PickList.d.ts

pull/4148/head
Tuğçe Küçükoğlu 2023-07-13 10:46:31 +03:00
parent 8ab8871195
commit e0c71d8009
1 changed files with 17 additions and 0 deletions

View File

@ -21,6 +21,7 @@ export interface PickListPassThroughMethodOptions {
instance: any;
props: PickListProps;
state: PickListState;
context: PickListContext;
}
/**
@ -254,6 +255,22 @@ export interface PickListState {
viewChanged: boolean;
}
/**
*
*/
export interface PickListContext {
/**
* Current active state of the item as a boolean.
* @defaultValue false
*/
active: boolean;
/**
* Current focus state of the item as a boolean.
* @defaultValue false
*/
focused: boolean;
}
/**
* Defines valid properties in PickList component.
*/