import * as React from "react"; import type { MergeElementProps } from "../../typings"; interface ItemBaseProps { /** The content of the item. */ children?: React.ReactNode; /** * Append to the classNames applied to the component so you can override or * extend the styles. */ className?: string; /** * If `true`, the item will be disabled. * @default false */ disabled?: boolean; /** * If `true`, the item will be hidden. * @internal * @ignore * @default false */ hide?: boolean; /** * @internal * @ignore */ index?: number; /** * The Callback fires when the item has been clicked. */ onClick?: (event: React.MouseEvent) => void; /** * The Callback fires when the item has received focus. */ onFocus?: (event: React.FocusEvent) => void; /** * The Callback fires when the item has lost focus. */ onBlur?: (event: React.FocusEvent) => void; } export declare type ItemProps = MergeElementProps<"div", ItemBaseProps>; declare type Component = { (props: ItemProps): React.ReactElement | null; propTypes?: React.WeakValidationMap | undefined; displayName?: string | undefined; }; declare const MenuItem: Component; export default MenuItem;