@transkripid/flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS - Transkrip.id fork
35 lines (34 loc) • 1.23 kB
JavaScript
import { jsx as h } from "react/jsx-runtime";
import { c as v } from "react/compiler-runtime";
import { twMerge as N } from "tailwind-merge";
import { mergeDeep as u } from "../../helpers/merge-deep.mjs";
import { useNavbarContext as x } from "./NavbarContext.mjs";
const B = (c) => {
const e = v(19);
let o, r, m, a, t;
e[0] !== c ? ({
as: a,
children: o,
className: r,
theme: t,
...m
} = c, e[0] = c, e[1] = o, e[2] = r, e[3] = m, e[4] = a, e[5] = t) : (o = e[1], r = e[2], m = e[3], a = e[4], t = e[5]);
const p = a === void 0 ? "a" : a;
let n;
e[6] !== t ? (n = t === void 0 ? {} : t, e[6] = t, e[7] = n) : n = e[7];
const f = n, {
theme: d
} = x();
let s, l;
if (e[8] !== p || e[9] !== r || e[10] !== f || e[11] !== d.brand) {
const b = u(d.brand, f);
s = p, l = N(b.base, r), e[8] = p, e[9] = r, e[10] = f, e[11] = d.brand, e[12] = s, e[13] = l;
} else
s = e[12], l = e[13];
let i;
return e[14] !== s || e[15] !== o || e[16] !== m || e[17] !== l ? (i = /* @__PURE__ */ h(s, { className: l, ...m, children: o }), e[14] = s, e[15] = o, e[16] = m, e[17] = l, e[18] = i) : i = e[18], i;
};
export {
B as NavbarBrand
};
//# sourceMappingURL=NavbarBrand.mjs.map