@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 • 759 B
TypeScript
import * as React from 'react';
import type { BaseUIComponentProps } from "../../utils/types.js";
/**
* Contains a list of navigation menu items.
* Renders a `<ul>` element.
*
* Documentation: [Base UI Navigation Menu](https://base-ui.com/react/components/navigation-menu)
*/
export declare const NavigationMenuList: React.ForwardRefExoticComponent<NavigationMenuListProps & React.RefAttributes<HTMLDivElement>>;
export interface NavigationMenuListState {
/**
* If `true`, the popup is open.
*/
open: boolean;
}
export interface NavigationMenuListProps extends BaseUIComponentProps<'ul', NavigationMenuList.State> {}
export declare namespace NavigationMenuList {
type State = NavigationMenuListState;
type Props = NavigationMenuListProps;
}