ant-design-vue/types/menu/sub-menu.d.ts

35 lines
783 B
TypeScript
Raw Normal View History

// 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
2019-01-12 03:33:27 +00:00
import { AntdComponent } from '../component';
import { MenuItem } from './menu-item';
2020-08-19 13:47:08 +00:00
import { VNodeChild } from 'vue';
export declare class SubMenu extends AntdComponent {
2020-08-19 13:47:08 +00:00
$props: {
/**
* unique id of the menu item
* @type string
*/
key?: string;
2020-08-19 13:47:08 +00:00
/**
* whether menu item is disabled or not
* @default false
* @type boolean
*/
disabled?: boolean;
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;
}
}