Update OrderList.d.ts

pull/3950/head
Tuğçe Küçükoğlu 2023-05-10 00:43:42 +03:00
parent 586978e34a
commit 56efe4897c
1 changed files with 5 additions and 17 deletions

View File

@ -19,7 +19,6 @@ export declare type OrderListPassThroughOptionType = OrderListPassThroughAttribu
export interface OrderListPassThroughMethodOptions {
props: OrderListProps;
state: OrderListState;
context: OrderListState;
}
/**
@ -134,22 +133,6 @@ export interface OrderListState {
focusedOptionIndex: number;
}
/**
* Defines current inline state in OrderList component.
*/
export interface OrderListState {
/**
* 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 OrderList component.
*/
@ -223,6 +206,11 @@ export interface OrderListProps {
* Identifier of the underlying list element.
*/
'aria-labelledby'?: string | undefined;
/**
* Uses to pass attributes to DOM elements inside the component.
* @type {OrderListPassThroughOptions}
*/
pt?: OrderListPassThroughOptions;
}
/**