Update PickList.d.ts
parent
8ab8871195
commit
e0c71d8009
|
@ -21,6 +21,7 @@ export interface PickListPassThroughMethodOptions {
|
||||||
instance: any;
|
instance: any;
|
||||||
props: PickListProps;
|
props: PickListProps;
|
||||||
state: PickListState;
|
state: PickListState;
|
||||||
|
context: PickListContext;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -254,6 +255,22 @@ export interface PickListState {
|
||||||
viewChanged: boolean;
|
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.
|
* Defines valid properties in PickList component.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue