diff --git a/packages/atoms/connect/ConnectButton.tsx b/packages/atoms/connect/ConnectButton.tsx index da29952ca0..9d1944fc90 100644 --- a/packages/atoms/connect/ConnectButton.tsx +++ b/packages/atoms/connect/ConnectButton.tsx @@ -15,6 +15,7 @@ export function ConnectButton({ buttonText, onButtonClick, stylesClassname, + icon, }: ConnectButtonProps & AtomsGlobalConfigProps) { const [isProcessing, setIsProcessing] = useState(false); const [errMsg, setErrMsg] = useState(""); @@ -45,6 +46,7 @@ export function ConnectButton({ type="button" disabled={!isProcessing} onClick={(event) => handleSubmit(event)}> + {!!icon && icon} {buttonText || "Install App"} {!!errMsg && {errMsg}}