@@ -9,6 +9,7 @@ import type {
99import type { DataAttributeProps } from '@koobiq/react-core' ;
1010import type { AriaComboBoxProps } from '@koobiq/react-primitives' ;
1111
12+ import type { ItemProps , SectionProps } from '../Collections' ;
1213import type { DropdownFooterProps } from '../DropdownFooter' ;
1314import {
1415 formFieldControlGroupPropVariant ,
@@ -27,7 +28,8 @@ import type {
2728 FormFieldProps ,
2829} from '../FormField' ;
2930import type { IconButtonProps } from '../IconButton' ;
30- import type { ListInnerProps } from '../List' ;
31+ import type { ListInnerProps , ListItemTextProps } from '../List' ;
32+ import type { ListItemAddonProps } from '../List/components' ;
3133import type { PopoverProps } from '../Popover' ;
3234
3335export const autocompletePropLabelPlacement = formFieldPropLabelPlacement ;
@@ -39,6 +41,12 @@ export type AutocompletePropLabelAlign = FormFieldPropLabelAlign;
3941export const autocompletePropVariant = formFieldControlGroupPropVariant ;
4042export type AutocompleteInputPropVariant = FormFieldControlGroupPropVariant ;
4143
44+ export type AutocompleteItemProps < T extends object = object > = ItemProps < T > ;
45+ export type AutocompleteSectionProps < T extends object = object > =
46+ SectionProps < T > ;
47+ export type AutocompleteItemTextProps = ListItemTextProps ;
48+ export type AutocompleteItemAddonProps = ListItemAddonProps ;
49+
4250export type AutocompleteProps < T extends object = object > = {
4351 /** Additional CSS-classes. */
4452 className ?: string ;
0 commit comments