import { defineComponent as t, openBlock as o, createBlock as r, unref as a, normalizeClass as p } from "vue";
import { HttpMethod as n } from "@scalar/api-client";
const c = /* @__PURE__ */ t({
  __name: "SidebarHttpBadge",
  props: {
    active: { type: Boolean },
    method: {}
  },
  setup(s) {
    return (e, d) => (o(), r(a(n), {
      class: p(["sidebar-heading-type", { "sidebar-heading-type-active": e.active }]),
      method: e.method,
      property: "--method-color",
      short: ""
    }, null, 8, ["class", "method"]));
  }
});
export {
  c as default
};
