UNPKG

@dialpad/dialtone-vue

Version:

Vue component library for Dialpad's design system Dialtone

37 lines (36 loc) 792 B
import { BUTTON_GROUP_ALIGNMENT as n } from "./button-group-constants.js"; import { n as o } from "../../_plugin-vue2_normalizer-DSLOjnn3.js"; const a = { name: "DtButtonGroup", props: { /** * Alignment of the buttons inside the container */ alignment: { type: String, default: "start", validator: (r) => Object.keys(n).includes(r) } }, data() { return { BUTTON_GROUP_ALIGNMENT: n }; } }; var _ = function() { var t = this, e = t._self._c; return e("div", { class: [ "d-btn-group", t.BUTTON_GROUP_ALIGNMENT[t.alignment] ], attrs: { role: "group" } }, [t._t("default")], 2); }, s = [], c = /* @__PURE__ */ o( a, _, s ); const u = c.exports; export { u as default }; //# sourceMappingURL=button-group.js.map