import Menu, { MenuItem } from '../../vc-menu'; import PropTypes from '../../_util/vue-types'; import { OptionProps } from './Option'; import { inject } from 'vue'; function noop() {} export default { name: 'DropdownMenu', props: { prefixCls: PropTypes.string, options: PropTypes.arrayOf(OptionProps), }, setup() { return { mentionsContext: inject('mentionsContext'), }; }, render() { const { notFoundContent, activeIndex, setActiveIndex, selectOption, onFocus = noop, onBlur = noop, } = this.mentionsContext; const { prefixCls, options } = this.$props; const activeOption = options[activeIndex] || {}; return (