@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.
19 lines • 781 B
TypeScript
import * as React from 'react';
import type { BaseUIComponentProps } from "../../utils/types.js";
/**
* An icon that indicates that the trigger button opens a menu.
*
* Documentation: [Base UI Navigation Menu](https://base-ui.com/react/components/navigation-menu)
*/
export declare const NavigationMenuIcon: React.ForwardRefExoticComponent<NavigationMenuIconProps & React.RefAttributes<HTMLDivElement>>;
export interface NavigationMenuIconState {
/**
* Whether the navigation menu is open and the item is active.
*/
open: boolean;
}
export interface NavigationMenuIconProps extends BaseUIComponentProps<'span', NavigationMenuIcon.State> {}
export declare namespace NavigationMenuIcon {
type State = NavigationMenuIconState;
type Props = NavigationMenuIconProps;
}