You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
929 B
23 lines
929 B
import * as React from 'react';
|
|
import { MenuClickEventHandler } from './interface';
|
|
export interface MenuItemGroupProps {
|
|
disabled?: boolean;
|
|
renderMenuItem?: (item: React.ReactElement, index: number, key: string) => React.ReactElement;
|
|
index?: number;
|
|
className?: string;
|
|
subMenuKey?: string;
|
|
rootPrefixCls?: string;
|
|
title?: React.ReactNode;
|
|
onClick?: MenuClickEventHandler;
|
|
direction?: 'ltr' | 'rtl';
|
|
}
|
|
declare class MenuItemGroup extends React.Component<MenuItemGroupProps> {
|
|
static isMenuItemGroup: boolean;
|
|
static defaultProps: {
|
|
disabled: boolean;
|
|
};
|
|
renderInnerMenuItem: (item: React.ReactElement) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, any>)>;
|
|
render(): JSX.Element;
|
|
}
|
|
export default MenuItemGroup;
|