UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

10 lines (9 loc) 324 B
import type { MenuItemProps as RcMenuItemProps } from 'rc-menu'; import * as React from 'react'; export interface MenuItemProps extends Omit<RcMenuItemProps, 'title'> { icon?: React.ReactNode; danger?: boolean; title?: React.ReactNode; } declare const MenuItem: React.FC<MenuItemProps>; export default MenuItem;