This commit is contained in:
zadit
2024-10-22 16:05:30 +07:00
parent e2522bd91c
commit 1ecc6db645
17 changed files with 320 additions and 137 deletions

View File

@@ -8,6 +8,7 @@ import jsqr from "jsqr";
const ButtonWithReplica = ({
children,
price,
disabled,
paymentUrl,
handleClick,
Open,
@@ -131,6 +132,7 @@ const ButtonWithReplica = ({
<button
className="button"
onClick={() => (isPaymentOpen ? handleClick() : handleOpen())}
disabled = {disabled}
>
{children}
</button>
@@ -138,6 +140,7 @@ const ButtonWithReplica = ({
<div className={`replica ${isActive ? "active" : ""}`}></div>
<QRCodeSVG
className={`bussinessQR ${isActive ? "active" : ""}`}
style={{pointerEvents: 'none'}}
bgColor={"transparent"}
fgColor={fgColor}
value={QRValue}