UNPKG

@transkripid/flowbite-react

Version:

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

3 lines (2 loc) 1.24 kB
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),h=require("react/compiler-runtime"),b=require("tailwind-merge"),p=require("../../helpers/merge-deep.js"),j=require("../../theme-store/index.js"),x=g=>{const e=h.c(20);let t,l,r,s,n,i,a,o;e[0]!==g?({alt:t,className:r,children:l,href:s,name:n,src:a,theme:o,...i}=g,e[0]=g,e[1]=t,e[2]=l,e[3]=r,e[4]=s,e[5]=n,e[6]=i,e[7]=a,e[8]=o):(t=e[1],l=e[2],r=e[3],s=e[4],n=e[5],i=e[6],a=e[7],o=e[8]);let d;e[9]!==o?(d=o===void 0?{}:o,e[9]=o,e[10]=d):d=e[10];const u=d;let m;if(e[11]!==t||e[12]!==l||e[13]!==r||e[14]!==u||e[15]!==s||e[16]!==n||e[17]!==i||e[18]!==a){const f=p.mergeDeep(j.getTheme().footer.brand,u);m=c.jsx("div",{children:s?c.jsxs("a",{"data-testid":"flowbite-footer-brand",href:s,className:b.twMerge(f.base,r),...i,children:[c.jsx("img",{alt:t,src:a,className:f.img}),c.jsx("span",{"data-testid":"flowbite-footer-brand-span",className:f.span,children:n}),l]}):c.jsx("img",{alt:t,"data-testid":"flowbite-footer-brand",src:a,className:b.twMerge(f.img,r),...i})}),e[11]=t,e[12]=l,e[13]=r,e[14]=u,e[15]=s,e[16]=n,e[17]=i,e[18]=a,e[19]=m}else m=e[19];return m};exports.FooterBrand=x; //# sourceMappingURL=FooterBrand.js.map