@dialpad/dialtone
Version:
Dialpad's Dialtone design system monorepo
41 lines (40 loc) • 1.07 kB
JavaScript
import { t as e } from "../../_plugin-vue_export-helper-BTgDAbhb.js";
import t from "../radio/radio.js";
import "../radio/index.js";
import { Fragment as n, createBlock as r, createElementBlock as i, createElementVNode as a, openBlock as o, renderList as s, resolveComponent as c, toDisplayString as l, withCtx as u } from "vue";
//#region components/radio_group/radios_decorator.vue
var d = {
compatConfig: { MODE: 3 },
name: "RadiosDecorator",
components: { DtRadio: t },
created() {
this.options = [
{
label: "Apple",
value: "apple"
},
{
label: "Banana",
value: "banana"
},
{
label: "Other",
value: "other"
}
];
}
};
function f(e, t, d, f, p, m) {
let h = c("dt-radio");
return o(), i("div", null, [(o(!0), i(n, null, s(e.options, (e) => (o(), r(h, {
key: e.value,
value: e.value
}, {
default: u(() => [a("span", null, l(e.label), 1)]),
_: 2
}, 1032, ["value"]))), 128))]);
}
var p = /* @__PURE__ */ e(d, [["render", f]]);
//#endregion
export { p as default };
//# sourceMappingURL=radios-decorator.js.map