import{jsx as l}from"react/jsx-runtime";import{css as O}from"@styled/css";import{Flex as R}from"@styled/jsx";import{token as o}from"@styled/tokens";import{QRCode as S}from"react-qrcode-logo";function b({value:r,ecLevel:i="H",qrStyle:d="dots",eyeRadius:t=0,eyeColor:g=o("colors.ink.90"),size:a=160,logoImage:n=void 0,logoHeight:s=32,logoWidth:m=32,logoOpacity:c=1,logoPadding:y=0,logoPaddingStyle:u="square",logoOnLoad:C=void 0,removeQrCodeBehindLogo:f=!1,enableCORS:h=!1,quietZone:v=5,bgColor:p=o("colors.chalk"),fgColor:q=o("colors.ink.90"),style:L=void 0,id:e="qr-code"}){return l(R,{alignItems:"center",justifyContent:"center",className:O({shadow:"0.125rem 0.125rem 1.5rem {colors.ink.70/15}",overflow:"hidden",padding:1,borderRadius:"1rem"}),children:l(S,{value:r,ecLevel:i,qrStyle:d,eyeRadius:t,eyeColor:g,size:a,logoImage:n,logoHeight:s,logoWidth:m,logoOpacity:c,logoPadding:y,logoPaddingStyle:u,logoOnLoad:C,removeQrCodeBehindLogo:f,enableCORS:h,quietZone:v,bgColor:p,fgColor:q,style:L,id:e,"data-testid":e})})}export{b as default};
//# sourceMappingURL=qr-code.js.map
