2019-01-01 04:13:51 +00:00
|
|
|
// Project: https://github.com/vueComponent/ant-design-vue
|
|
|
|
// Definitions by: akki-jat <https://github.com/akki-jat>
|
|
|
|
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
|
|
|
|
2020-08-31 06:59:56 +00:00
|
|
|
import { AntdComponent, AntdProps } from '../component';
|
2019-01-12 03:33:27 +00:00
|
|
|
import { MenuItem } from './menu-item';
|
2020-08-19 13:47:08 +00:00
|
|
|
import { VNodeChild } from 'vue';
|
2019-01-01 04:13:51 +00:00
|
|
|
|
|
|
|
export declare class SubMenu extends AntdComponent {
|
2020-08-31 06:59:56 +00:00
|
|
|
$props: AntdProps & {
|
2020-08-19 13:47:08 +00:00
|
|
|
/**
|
2020-08-30 14:59:47 +00:00
|
|
|
* unique id of the menu item
|
|
|
|
* @type string
|
|
|
|
*/
|
2020-08-19 13:47:08 +00:00
|
|
|
key?: string;
|
2019-01-01 04:13:51 +00:00
|
|
|
|
2020-08-19 13:47:08 +00:00
|
|
|
/**
|
|
|
|
* whether menu item is disabled or not
|
|
|
|
* @default false
|
|
|
|
* @type boolean
|
|
|
|
*/
|
|
|
|
disabled?: boolean;
|
2019-01-01 04:13:51 +00:00
|
|
|
|
2020-08-19 13:47:08 +00:00
|
|
|
/**
|
|
|
|
* title of the sub menu
|
|
|
|
* @type string | slot
|
|
|
|
*/
|
|
|
|
title?: VNodeChild | JSX.Element;
|
|
|
|
/**
|
|
|
|
* Sub-menu class name (1.5.0)
|
|
|
|
*/
|
|
|
|
popupClassName?: string;
|
2020-08-30 14:59:47 +00:00
|
|
|
};
|
2019-01-01 04:13:51 +00:00
|
|
|
}
|