UNPKG

@dialpad/dialtone

Version:

Dialpad's Dialtone design system monorepo

35 lines (34 loc) 1.02 kB
import { resolveComponent as n, createElementBlock as t, openBlock as a, Fragment as l, renderList as c, createBlock as s, withCtx as p, createElementVNode as i, toDisplayString as d } from "vue"; import { _ as u } from "../../_plugin-vue_export-helper-CHgC5LLL.js"; import m from "../radio/radio.js"; const _ = { compatConfig: { MODE: 3 }, name: "RadiosDecorator", components: { DtRadio: m }, created() { this.options = [ { label: "Apple", value: "apple" }, { label: "Banana", value: "banana" }, { label: "Other", value: "other" } ]; } }; function f(o, v, b, h, k, B) { const r = n("dt-radio"); return a(), t("div", null, [ (a(!0), t(l, null, c(o.options, (e) => (a(), s(r, { key: e.value, value: e.value }, { default: p(() => [ i("span", null, d(e.label), 1) ]), _: 2 }, 1032, ["value"]))), 128)) ]); } const x = /* @__PURE__ */ u(_, [["render", f]]); export { x as default }; //# sourceMappingURL=radios-decorator.js.map