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