Update PickList.d.ts

This commit is contained in:
Tuğçe Küçükoğlu 2023-07-13 10:46:31 +03:00
parent 8ab8871195
commit e0c71d8009

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.
*/