@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.
23 lines • 814 B
TypeScript
import * as React from 'react';
import type { BaseUIComponentProps } from "../../utils/types.js";
import type { TransitionStatus } from "../../utils/useTransitionStatus.js";
/**
* A backdrop for the navigation menu popup.
* Renders a `<div>` element.
*
* Documentation: [Base UI Navigation Menu](https://base-ui.com/react/components/navigation-menu)
*/
export declare const NavigationMenuBackdrop: React.ForwardRefExoticComponent<NavigationMenuBackdrop.Props & React.RefAttributes<HTMLDivElement>>;
export declare namespace NavigationMenuBackdrop {
interface State {
/**
* If `true`, the popup is open.
*/
open: boolean;
/**
* The transition status of the popup.
*/
transitionStatus: TransitionStatus;
}
interface Props extends BaseUIComponentProps<'div', State> {}
}