@base-ui-components/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.
20 lines • 699 B
TypeScript
import * as React from 'react';
import type { BaseUIComponentProps } from "../../utils/types.js";
/**
* A list container for the items.
* Renders a `<div>` element.
*/
export declare const ComboboxList: React.ForwardRefExoticComponent<ComboboxListProps & React.RefAttributes<HTMLDivElement>>;
export interface ComboboxListState {
/**
* Whether the list is empty.
*/
empty: boolean;
}
export interface ComboboxListProps extends Omit<BaseUIComponentProps<'div', ComboboxList.State>, 'children'> {
children?: React.ReactNode | ((item: any, index: number) => React.ReactNode);
}
export declare namespace ComboboxList {
type State = ComboboxListState;
type Props = ComboboxListProps;
}