UNPKG

chowa

Version:

UI component library based on React

26 lines (25 loc) 776 B
/** * @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 MenuItempProps { className?: string; style?: React.CSSProperties; disabled?: boolean; index: React.ReactText; } declare class MenuItem extends React.PureComponent<MenuItempProps> { static propTypes: { className: PropTypes.Requireable<string>; style: PropTypes.Requireable<object>; disabled: PropTypes.Requireable<boolean>; index: PropTypes.Validator<string | number>; }; } export default MenuItem;