UNPKG

@uva-glass/component-library

Version:

React components UvA

14 lines (13 loc) 771 B
import { jsx as s, jsxs as l } from "react/jsx-runtime"; import '../../assets/HorizontalList.css';const t = { "horizontal-list-wrapper": "_horizontal-list-wrapper_oivby_1", "horizontal-list-value": "_horizontal-list-value_oivby_6", "horizontal-list-separator": "_horizontal-list-separator_oivby_11" }, p = ({ values: r, separator: a = "•" }) => /* @__PURE__ */ s("div", { className: t["horizontal-list-wrapper"], children: r.map((o, i) => /* @__PURE__ */ l("span", { className: t["horizontal-list-value"], children: [ o, i < r.length - 1 && /* @__PURE__ */ s("span", { className: t["horizontal-list-separator"], children: a }) ] }, `${o == null ? void 0 : o.toString()}-${i}`)) }); export { p as HorizontalList }; //# sourceMappingURL=HorizontalList.js.map