UNPKG

@transkripid/flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS - Transkrip.id fork

38 lines (37 loc) 1.63 kB
import { jsx as f, jsxs as g } from "react/jsx-runtime"; import { c as N } from "react/compiler-runtime"; import { twMerge as b } from "tailwind-merge"; import { mergeDeep as w } from "../../helpers/merge-deep.mjs"; import { getTheme as x } from "../../theme-store/index.mjs"; const D = (p) => { const e = N(20); let t, m, r, o, i, s, a, l; e[0] !== p ? ({ alt: t, className: r, children: m, href: o, name: i, src: a, theme: l, ...s } = p, e[0] = p, e[1] = t, e[2] = m, e[3] = r, e[4] = o, e[5] = i, e[6] = s, e[7] = a, e[8] = l) : (t = e[1], m = e[2], r = e[3], o = e[4], i = e[5], s = e[6], a = e[7], l = e[8]); let n; e[9] !== l ? (n = l === void 0 ? {} : l, e[9] = l, e[10] = n) : n = e[10]; const h = n; let d; if (e[11] !== t || e[12] !== m || e[13] !== r || e[14] !== h || e[15] !== o || e[16] !== i || e[17] !== s || e[18] !== a) { const c = w(x().footer.brand, h); d = /* @__PURE__ */ f("div", { children: o ? /* @__PURE__ */ g("a", { "data-testid": "flowbite-footer-brand", href: o, className: b(c.base, r), ...s, children: [ /* @__PURE__ */ f("img", { alt: t, src: a, className: c.img }), /* @__PURE__ */ f("span", { "data-testid": "flowbite-footer-brand-span", className: c.span, children: i }), m ] }) : /* @__PURE__ */ f("img", { alt: t, "data-testid": "flowbite-footer-brand", src: a, className: b(c.img, r), ...s }) }), e[11] = t, e[12] = m, e[13] = r, e[14] = h, e[15] = o, e[16] = i, e[17] = s, e[18] = a, e[19] = d; } else d = e[19]; return d; }; export { D as FooterBrand }; //# sourceMappingURL=FooterBrand.mjs.map