reka-ui
Version:
Vue port for Radix UI Primitives.
29 lines (26 loc) • 873 B
JavaScript
import { defineComponent, createBlock, openBlock, unref, normalizeProps, guardReactiveProps, withCtx, renderSlot } from 'vue';
import { _ as _sfc_main$1 } from '../Menu/MenuSubTrigger.js';
import { u as useForwardExpose } from '../shared/useForwardExpose.js';
const _sfc_main = /* @__PURE__ */ defineComponent({
__name: "ContextMenuSubTrigger",
props: {
disabled: { type: Boolean },
textValue: {},
asChild: { type: Boolean },
as: {}
},
setup(__props) {
const props = __props;
useForwardExpose();
return (_ctx, _cache) => {
return openBlock(), createBlock(unref(_sfc_main$1), normalizeProps(guardReactiveProps(props)), {
default: withCtx(() => [
renderSlot(_ctx.$slots, "default")
]),
_: 3
}, 16);
};
}
});
export { _sfc_main as _ };
//# sourceMappingURL=ContextMenuSubTrigger.js.map