Update OrderList.d.ts
parent
586978e34a
commit
56efe4897c
|
@ -19,7 +19,6 @@ export declare type OrderListPassThroughOptionType = OrderListPassThroughAttribu
|
||||||
export interface OrderListPassThroughMethodOptions {
|
export interface OrderListPassThroughMethodOptions {
|
||||||
props: OrderListProps;
|
props: OrderListProps;
|
||||||
state: OrderListState;
|
state: OrderListState;
|
||||||
context: OrderListState;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -134,22 +133,6 @@ export interface OrderListState {
|
||||||
focusedOptionIndex: number;
|
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.
|
* Defines valid properties in OrderList component.
|
||||||
*/
|
*/
|
||||||
|
@ -223,6 +206,11 @@ export interface OrderListProps {
|
||||||
* Identifier of the underlying list element.
|
* Identifier of the underlying list element.
|
||||||
*/
|
*/
|
||||||
'aria-labelledby'?: string | undefined;
|
'aria-labelledby'?: string | undefined;
|
||||||
|
/**
|
||||||
|
* Uses to pass attributes to DOM elements inside the component.
|
||||||
|
* @type {OrderListPassThroughOptions}
|
||||||
|
*/
|
||||||
|
pt?: OrderListPassThroughOptions;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue