UNPKG

@anoki/fse-marche-ui

Version:

FSE UI components library

32 lines (31 loc) 957 B
import { j as r } from "./index.es137.js"; import { BreadcrumbItem as o } from "./index.es156.js"; import { clsx as l } from "./index.es139.js"; import './components/navigations/Breadcrumb/Breadcrumb.css';/* empty css */ const n = ({ items: e = [{ label: "Home", href: "#" }] }) => /* @__PURE__ */ r.jsx("nav", { "aria-label": "Percorso di navigazione", children: /* @__PURE__ */ r.jsx("ol", { className: l("ui-breadcrumb", "fs-6 md-fs-custom"), children: e.map((a, s) => /* @__PURE__ */ r.jsxs("div", { children: [ /* @__PURE__ */ r.jsx( o, { label: a.label, href: a.href, asLink: a.asLink, isClickable: a.isClickable ?? !0 } ), s < e.length - 1 && /* @__PURE__ */ r.jsx( "span", { className: l( "ui-breadcrumb-separator", "fw-bold text-slate-28" ), children: "/" } ) ] }, s)) }) }); export { n as Breadcrumb }; //# sourceMappingURL=index.es19.js.map