@dialpad/dialtone-vue
Version:
Vue component library for Dialpad's design system Dialtone
34 lines (33 loc) • 916 B
JavaScript
import { n as a } from "../../_plugin-vue2_normalizer-DSLOjnn3.js";
const s = {
name: "DtDropdownList",
props: {
/**
* List's heading.
*/
heading: {
type: String,
default: ""
},
/**
* Additional class for the wrapper list element.
*/
listClass: {
type: [String, Array, Object],
default: ""
}
}
};
var e = function() {
var t = this, d = t._self._c;
return d("li", [t.heading ? d("div", { staticClass: "dt-dropdown-list--header d-fs12 d-fc-black-400 d-fw-bold d-lh4 d-py4 d-px12 d-d-flex d-ai-center" }, [d("span", [t._v(t._s(t.heading))])]) : t._e(), d("ul", { class: ["d-ps-relative", "d-stack2", "d-px0", t.listClass], attrs: { "data-qa": "dt-dropdown-list-wrapper" } }, [t._t("default")], 2)]);
}, r = [], n = /* @__PURE__ */ a(
s,
e,
r
);
const o = n.exports;
export {
o as default
};
//# sourceMappingURL=dropdown-list.js.map