UNPKG

element-plus

Version:

A Component Library for Vue 3

21 lines (18 loc) 529 B
import '../../../utils/index2.mjs'; import { buildProps, definePropType } from '../../../utils/vue/props2.mjs'; import { isString } from '@vue/shared'; const menuItemProps = buildProps({ index: { type: definePropType([String, null]), default: null }, route: { type: definePropType([String, Object]) }, disabled: Boolean }); const menuItemEmits = { click: (item) => isString(item.index) && Array.isArray(item.indexPath) }; export { menuItemEmits, menuItemProps }; //# sourceMappingURL=menu-item3.mjs.map