ok
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user