UNPKG

@transkripid/flowbite-react

Version:

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

59 lines (58 loc) 2.15 kB
import { jsx as u } from "react/jsx-runtime"; import { c as T } from "react/compiler-runtime"; import { twMerge as C } from "tailwind-merge"; import { mergeDeep as B } from "../../helpers/merge-deep.mjs"; import { getTheme as G } from "../../theme-store/index.mjs"; import { FooterBrand as g } from "./FooterBrand.mjs"; import { FooterCopyright as N } from "./FooterCopyright.mjs"; import { FooterDivider as k } from "./FooterDivider.mjs"; import { FooterIcon as h } from "./FooterIcon.mjs"; import { FooterLink as D } from "./FooterLink.mjs"; import { FooterLinkGroup as b } from "./FooterLinkGroup.mjs"; import { FooterTitle as v } from "./FooterTitle.mjs"; const L = (f) => { const o = T(20); let t, r, i, s, l, e; o[0] !== f ? ({ bgDark: s, children: t, className: r, container: l, theme: e, ...i } = f, o[0] = f, o[1] = t, o[2] = r, o[3] = i, o[4] = s, o[5] = l, o[6] = e) : (t = o[1], r = o[2], i = o[3], s = o[4], l = o[5], e = o[6]); const d = s === void 0 ? !1 : s, c = l === void 0 ? !1 : l; let p; o[7] !== e ? (p = e === void 0 ? {} : e, o[7] = e, o[8] = p) : p = o[8]; const F = p; let m, a; if (o[9] !== d || o[10] !== r || o[11] !== c || o[12] !== F) { const y = B(G().footer, F); m = "flowbite-footer", a = C(y.root.base, d && y.root.bgDark, c && y.root.container, r), o[9] = d, o[10] = r, o[11] = c, o[12] = F, o[13] = m, o[14] = a; } else m = o[13], a = o[14]; let n; return o[15] !== t || o[16] !== i || o[17] !== m || o[18] !== a ? (n = /* @__PURE__ */ u("footer", { "data-testid": m, className: a, ...i, children: t }), o[15] = t, o[16] = i, o[17] = m, o[18] = a, o[19] = n) : n = o[19], n; }; L.displayName = "Footer"; N.displayName = "Footer.Copyright"; D.displayName = "Footer.Link"; g.displayName = "Footer.Brand"; b.displayName = "Footer.LinkGroup"; h.displayName = "Footer.Icon"; v.displayName = "Footer.Title"; k.displayName = "Footer.Divider"; const J = Object.assign(L, { Copyright: N, Link: D, LinkGroup: b, Brand: g, Icon: h, Title: v, Divider: k }); export { J as Footer, L as FooterComponent }; //# sourceMappingURL=Footer.mjs.map