import { OverrideProps } from 'mui-ultra/types'; import * as React from 'react'; import { SlotComponentProps } from '../utils'; export interface MenuItemUnstyledComponentsPropsOverrides { } export interface MenuItemUnstyledOwnerState extends MenuItemUnstyledOwnProps { disabled: boolean; focusVisible: boolean; } export interface MenuItemUnstyledOwnProps { children?: React.ReactNode; className?: string; onClick?: React.MouseEventHandler; /** * If `true`, the menu item will be disabled. * @default false */ disabled?: boolean; /** * The components used for each slot inside the MenuItem. * Either a string to use a HTML element or a component. * @default {} */ components?: { Root?: React.ElementType; }; /** * The props used for each slot inside the MenuItem. * @default {} */ componentsProps?: { root?: SlotComponentProps<'li', MenuItemUnstyledComponentsPropsOverrides, MenuItemUnstyledOwnerState>; }; /** * A text representation of the menu item's content. * Used for keyboard text navigation matching. */ label?: string; } export interface MenuItemUnstyledTypeMap

{ props: P & MenuItemUnstyledOwnProps; defaultComponent: D; } export declare type MenuItemUnstyledProps = OverrideProps, D> & { component?: D; };