adds selectable prop to typescript file (#7384)

This commit is contained in:
John Nguyen 2017-08-29 19:42:55 +08:00 committed by 偏右
parent c23afb05d0
commit 6c509f9712

View File

@ -27,6 +27,7 @@ export interface MenuProps {
theme?: 'light' | 'dark';
/** enum: `vertical` `horizontal` `inline` */
mode?: 'vertical' | 'horizontal' | 'inline';
selectable?: boolean;
selectedKeys?: Array<string>;
defaultSelectedKeys?: Array<string>;
openKeys?: Array<string>;
@ -54,6 +55,7 @@ export default class Menu extends React.Component<MenuProps, any> {
prefixCls: 'ant-menu',
className: '',
theme: 'light', // or dark
selectable: true,
};
static childContextTypes = {
inlineCollapsed: PropTypes.bool,