Props extends PrimitiveDivProps { } export const MenuLabel: React.ForwardRefExoticComponent>; export interface MenuItemProps extends Omit { onSelect?: (event: Event) => void; } export const MenuItem: React.ForwardRefExoticComponent>; interface MenuItemImplProps extends PrimitiveDivProps { disabled?: boolean; textValue?: string; } type CheckedState = boolean | 'indeterminate'; export interface MenuCheckboxItemProps extends MenuItemProps { checked?: CheckedState; onCheckedChange?: (checked: boolean) => void; } export const MenuCheckboxItem: React.ForwardRefExoticComponent>; export interface MenuRadioGroupProps extends MenuGroupProps { value?: string; onValueChange?: (value: string) => void; } export const MenuRadioGroup: React.ForwardRefExoticComponent>; export interface MenuRadioItemProps extends MenuItemProps { value: string; } export const MenuRadioItem: React.ForwardRefExoticComponent>; type PrimitiveSpanProps = Radix.ComponentPropsWithoutRef; export interface MenuItemIndicatorProps extends PrimitiveSpanProps { /** * Used to force mounting when more control is needed. Useful when * controlling animation with React animation libraries. */ forceMount?: true; } export const MenuItemIndicator: React.ForwardRefExoticComponent>; export interface MenuSeparatorProps extends PrimitiveDivProps { } export const MenuSeparator: React.ForwardRefExoticComponent>; type PopperArrowProps = Radix.ComponentPropsWithoutRef; export interface MenuArrowProps extends PopperArrowProps { } export const MenuArrow: React.ForwardRefExoticComponent>; export interface MenuSubProps { children?: React.ReactNode; open?: boolean; onOpenChange?(open: boolean): void; } export const MenuSub: React.FC; export interface MenuSubTriggerProps extends MenuItemImplProps { } export const MenuSubTrigger: React.ForwardRefExoticComponent>; export interface MenuSubContentProps extends Omit { /** * Used to force mounting when more control is needed. Useful when * controlling animation with React animation libraries. */ forceMount?: true; } export const MenuSubContent: React.ForwardRefExoticComponent>; export const Root: React.FC; export const Anchor: React.ForwardRefExoticComponent>; export const Portal: React.FC; export const Content: React.ForwardRefExoticComponent>; export const Group: React.ForwardRefExoticComponent>; export const Label: React.ForwardRefExoticComponent>; export const Item: React.ForwardRefExoticComponent>; export const CheckboxItem: React.ForwardRefExoticComponent>; export const RadioGroup: React.ForwardRefExoticComponent>; export const RadioItem: React.ForwardRefExoticComponent>; export const ItemIndicator: React.ForwardRefExoticComponent>; export const Separator: React.Forw