import * as React from "react"; import { ConfigConsumerProps } from "../Config"; interface IProps { /** * 分组标题 * **/ title?: React.ReactNode; /** * 子内容 * **/ children: React.ReactChild | React.ReactChild[]; /** * 默认前缀 * * @default "lg" **/ prefixCls?: string; /** * 触发菜单打开事件 * * @default () => null **/ onItemSelect?: (...args: any[]) => void; /** * 分组key * * @default **/ groupKey?: string; /** * 当前索引 * * @default **/ currIndex?: string; } export default class GroupItem extends React.PureComponent { static defaultProps: { className: string; title: string; }; constructor(props: any); handleSelect: (clickItemProps: any, e: any) => void; renderList: () => React.DetailedReactHTMLElement[] | null; renderGroupItem: ({ getPrefixCls }: ConfigConsumerProps) => JSX.Element; render(): JSX.Element; } export {};