UNPKG

@transkripid/flowbite-react

Version:

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

32 lines (31 loc) 1.35 kB
import { jsx as g } from "react/jsx-runtime"; import { c as k } from "react/compiler-runtime"; import { twMerge as u } from "tailwind-merge"; import { mergeDeep as N } from "../../helpers/merge-deep.mjs"; import { getTheme as v } from "../../theme-store/index.mjs"; const w = (h) => { const e = k(22); let r, l, m, s, n, t; e[0] !== h ? ({ as: n, children: r, className: l, href: m, theme: t, ...s } = h, e[0] = h, e[1] = r, e[2] = l, e[3] = m, e[4] = s, e[5] = n, e[6] = t) : (r = e[1], l = e[2], m = e[3], s = e[4], n = e[5], t = e[6]); const a = n === void 0 ? "a" : n; let c; e[7] !== t ? (c = t === void 0 ? {} : t, e[7] = t, e[8] = c) : c = e[8]; const d = c; let i, o; e[9] !== l || e[10] !== d ? (o = N(v().footer.groupLink.link, d), i = u(o.base, l), e[9] = l, e[10] = d, e[11] = i, e[12] = o) : (i = e[11], o = e[12]); let f; e[13] !== a || e[14] !== r || e[15] !== m || e[16] !== s || e[17] !== o.href ? (f = /* @__PURE__ */ g(a, { href: m, className: o.href, ...s, children: r }), e[13] = a, e[14] = r, e[15] = m, e[16] = s, e[17] = o.href, e[18] = f) : f = e[18]; let p; return e[19] !== i || e[20] !== f ? (p = /* @__PURE__ */ g("li", { className: i, children: f }), e[19] = i, e[20] = f, e[21] = p) : p = e[21], p; }; export { w as FooterLink }; //# sourceMappingURL=FooterLink.mjs.map