UNPKG

chowa

Version:

UI component library based on React

37 lines (36 loc) 1.14 kB
/** * @license chowa v1.1.3 * * Copyright (c) Chowa Techonlogies Co.,Ltd.(http://www.chowa.cn). * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import * as React from 'react'; import * as PropTypes from 'prop-types'; export interface DropdownMenuSubmenuProps { className?: string; style?: React.CSSProperties; disabled?: boolean; title: React.ReactNode; } export interface DropdownMenuSubmenuState { visible: boolean; } declare class DropdownMenuSubmenu extends React.PureComponent<DropdownMenuSubmenuProps, DropdownMenuSubmenuState> { static propTypes: { className: PropTypes.Requireable<string>; style: PropTypes.Requireable<object>; disabled: PropTypes.Requireable<boolean>; title: PropTypes.Validator<PropTypes.ReactNodeLike>; }; static defaultProps: { disabled: boolean; }; private timer; constructor(props: DropdownMenuSubmenuProps); private onMouseEnterHandler; private onMouseLeaveHandler; render(): JSX.Element; } export default DropdownMenuSubmenu;