@transkripid/flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS - Transkrip.id fork
34 lines (33 loc) • 1.4 kB
JavaScript
import { jsx as b } from "react/jsx-runtime";
import { c as u } from "react/compiler-runtime";
import { twMerge as h } from "tailwind-merge";
import { mergeDeep as B } from "../../helpers/merge-deep.mjs";
import { getTheme as g } from "../../theme-store/index.mjs";
import { BreadcrumbItem as N } from "./BreadcrumbItem.mjs";
const d = (f) => {
const e = u(20);
let m, l, o, t;
e[0] !== f ? ({
children: m,
className: l,
theme: t,
...o
} = f, e[0] = f, e[1] = m, e[2] = l, e[3] = o, e[4] = t) : (m = e[1], l = e[2], o = e[3], t = e[4]);
let c;
e[5] !== t ? (c = t === void 0 ? {} : t, e[5] = t, e[6] = c) : c = e[6];
const n = c;
let s, a, r;
e[7] !== l || e[8] !== n ? (r = B(g().breadcrumb.root, n), s = "Breadcrumb", a = h(r.base, l), e[7] = l, e[8] = n, e[9] = s, e[10] = a, e[11] = r) : (s = e[9], a = e[10], r = e[11]);
let i;
e[12] !== m || e[13] !== r.list ? (i = /* @__PURE__ */ b("ol", { className: r.list, children: m }), e[12] = m, e[13] = r.list, e[14] = i) : i = e[14];
let p;
return e[15] !== o || e[16] !== s || e[17] !== a || e[18] !== i ? (p = /* @__PURE__ */ b("nav", { "aria-label": s, className: a, ...o, children: i }), e[15] = o, e[16] = s, e[17] = a, e[18] = i, e[19] = p) : p = e[19], p;
};
d.displayName = "Breadcrumb";
const y = Object.assign(d, {
Item: N
});
export {
y as Breadcrumb
};
//# sourceMappingURL=Breadcrumb.mjs.map