From 6c509f971235a7a2fdde323f7dbc47589652c60e Mon Sep 17 00:00:00 2001 From: John Nguyen Date: Tue, 29 Aug 2017 19:42:55 +0800 Subject: [PATCH] adds selectable prop to typescript file (#7384) --- components/menu/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/menu/index.tsx b/components/menu/index.tsx index 78ed146e66..4fd9aee5e4 100644 --- a/components/menu/index.tsx +++ b/components/menu/index.tsx @@ -27,6 +27,7 @@ export interface MenuProps { theme?: 'light' | 'dark'; /** enum: `vertical` `horizontal` `inline` */ mode?: 'vertical' | 'horizontal' | 'inline'; + selectable?: boolean; selectedKeys?: Array; defaultSelectedKeys?: Array; openKeys?: Array; @@ -54,6 +55,7 @@ export default class Menu extends React.Component { prefixCls: 'ant-menu', className: '', theme: 'light', // or dark + selectable: true, }; static childContextTypes = { inlineCollapsed: PropTypes.bool,