mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-04 04:58:55 +08:00
adds selectable prop to typescript file (#7384)
This commit is contained in:
parent
c23afb05d0
commit
6c509f9712
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user