You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
534 B
21 lines
534 B
import '../../../utils/index.mjs';
|
|
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.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-item.mjs.map
|