UNPKG

@scalar/api-reference

Version:

Generate beautiful API references from OpenAPI documents

26 lines (25 loc) 804 B
import { defineComponent, createBlock, openBlock, unref, withCtx, createElementVNode, normalizeClass, renderSlot } from "vue"; import { Tab } from "@headlessui/vue"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "ExampleResponseTab", setup(__props) { return (_ctx, _cache) => { return openBlock(), createBlock(unref(Tab), { as: "template" }, { default: withCtx(({ selected }) => [ createElementVNode("button", { class: normalizeClass(["tab", { "tab-selected": selected }]), type: "button" }, [ createElementVNode("span", null, [ renderSlot(_ctx.$slots, "default", {}, void 0, true) ]) ], 2) ]), _: 3 }); }; } }); export { _sfc_main as default };