@transkripid/flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS - Transkrip.id fork
32 lines (31 loc) • 1.32 kB
JavaScript
import { jsx as c } from "react/jsx-runtime";
import { c as d } from "react/compiler-runtime";
import { twMerge as h } from "tailwind-merge";
import { mergeDeep as b } from "../../helpers/merge-deep.mjs";
import { getTheme as N } from "../../theme-store/index.mjs";
const z = (f) => {
const e = d(16);
let t, s, l, o, r, i;
e[0] !== f ? ({
ariaLabel: s,
className: l,
href: o,
icon: t,
theme: i,
...r
} = f, e[0] = f, e[1] = t, e[2] = s, e[3] = l, e[4] = o, e[5] = r, e[6] = i) : (t = e[1], s = e[2], l = e[3], o = e[4], r = e[5], i = e[6]);
let a;
e[7] !== i ? (a = i === void 0 ? {} : i, e[7] = i, e[8] = a) : a = e[8];
const n = a;
let m;
if (e[9] !== t || e[10] !== s || e[11] !== l || e[12] !== n || e[13] !== o || e[14] !== r) {
const p = b(N().footer.icon, n);
m = /* @__PURE__ */ c("div", { children: o ? /* @__PURE__ */ c("a", { "aria-label": s, "data-testid": "flowbite-footer-icon", href: o, className: h(p.base, l), ...r, children: /* @__PURE__ */ c(t, { className: p.size }) }) : /* @__PURE__ */ c(t, { "data-testid": "flowbite-footer-icon", className: p.size, ...r }) }), e[9] = t, e[10] = s, e[11] = l, e[12] = n, e[13] = o, e[14] = r, e[15] = m;
} else
m = e[15];
return m;
};
export {
z as FooterIcon
};
//# sourceMappingURL=FooterIcon.mjs.map