mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
update (#14591)
This commit is contained in:
parent
3e85e51b58
commit
8838bd602d
@ -3,12 +3,17 @@ import * as PropTypes from 'prop-types';
|
||||
import { SubMenu as RcSubMenu } from 'rc-menu';
|
||||
import classNames from 'classnames';
|
||||
|
||||
interface TitleClickEntity {
|
||||
key: string;
|
||||
domEvent: Event;
|
||||
}
|
||||
|
||||
export interface SubMenuProps {
|
||||
rootPrefixCls?: string;
|
||||
className?: string;
|
||||
disabled?: boolean;
|
||||
title?: React.ReactNode;
|
||||
onTitleClick?: (key: string, domEvent?: Event) => void;
|
||||
onTitleClick?: (clickEntity: TitleClickEntity) => void;
|
||||
}
|
||||
|
||||
class SubMenu extends React.Component<SubMenuProps, any> {
|
||||
|
Loading…
Reference in New Issue
Block a user