From e0c71d800991d74d5ec733cf331c243eec573e89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Thu, 13 Jul 2023 10:46:31 +0300 Subject: [PATCH] Update PickList.d.ts --- components/lib/picklist/PickList.d.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/components/lib/picklist/PickList.d.ts b/components/lib/picklist/PickList.d.ts index 92e61ae90..6bf00c83a 100755 --- a/components/lib/picklist/PickList.d.ts +++ b/components/lib/picklist/PickList.d.ts @@ -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. */