UNPKG

@uva-glass/component-library

Version:

React components UvA

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