UNPKG

@base-ui/react

Version:

Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.

22 lines 802 B
import * as React from 'react'; import type { BaseUIComponentProps } from "../../internals/types.js"; /** * A list container for the items. * Renders a `<div>` element. * * Documentation: [Base UI Combobox](https://base-ui.com/react/components/combobox) */ export declare const ComboboxList: React.ForwardRefExoticComponent<Omit<ComboboxListProps, "ref"> & React.RefAttributes<HTMLDivElement>>; export interface ComboboxListState { /** * Whether the list is empty. */ empty: boolean; } export interface ComboboxListProps extends Omit<BaseUIComponentProps<'div', ComboboxListState>, 'children'> { children?: React.ReactNode | ((item: any, index: number) => React.ReactNode); } export declare namespace ComboboxList { type State = ComboboxListState; type Props = ComboboxListProps; }