@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 • 682 B
TypeScript
import * as React from 'react';
import { BaseUIComponentProps } from "../../utils/types.js";
/**
* Groups related menu items with the corresponding label.
* Renders a `<div>` element.
*
* Documentation: [Base UI Menu](https://base-ui.com/react/components/menu)
*/
export declare const MenuGroup: React.ForwardRefExoticComponent<MenuGroupProps & React.RefAttributes<Element>>;
export interface MenuGroupProps extends BaseUIComponentProps<'div', MenuGroup.State> {
/**
* The content of the component.
*/
children?: React.ReactNode;
}
export interface MenuGroupState {}
export declare namespace MenuGroup {
type Props = MenuGroupProps;
type State = MenuGroupState;
}