UNPKG

702 BTypeScriptView Raw
1import * as React from 'react';
2import type { MenuItemType } from './interface';
3export interface MenuItemProps extends Omit<MenuItemType, 'label' | 'key' | 'ref'>, Omit<React.HTMLAttributes<HTMLLIElement>, 'onClick' | 'onMouseEnter' | 'onMouseLeave' | 'onSelect'> {
4 children?: React.ReactNode;
5 /** @private Internal filled key. Do not set it directly */
6 eventKey?: string;
7 /** @private Do not use. Private warning empty usage */
8 warnKey?: boolean;
9 /** @deprecated No place to use this. Should remove */
10 attribute?: Record<string, string>;
11}
12declare const _default: React.ForwardRefExoticComponent<MenuItemProps & React.RefAttributes<HTMLElement>>;
13export default _default;