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.

25 lines 927 B
import * as React from 'react'; import type { BaseUIComponentProps } from "../../internals/types.js"; import type { TransitionStatus } from "../../internals/useTransitionStatus.js"; /** * An overlay displayed beneath the popup. * Renders a `<div>` element. * * Documentation: [Base UI Combobox](https://base-ui.com/react/components/combobox) */ export declare const ComboboxBackdrop: React.ForwardRefExoticComponent<Omit<ComboboxBackdropProps, "ref"> & React.RefAttributes<HTMLDivElement>>; export interface ComboboxBackdropProps extends BaseUIComponentProps<'div', ComboboxBackdropState> {} export interface ComboboxBackdropState { /** * Whether the popup is currently open. */ open: boolean; /** * The transition status of the component. */ transitionStatus: TransitionStatus; } export declare namespace ComboboxBackdrop { type Props = ComboboxBackdropProps; type State = ComboboxBackdropState; }