diff --git a/packages/beacon-ui/src/components/info/index.tsx b/packages/beacon-ui/src/components/info/index.tsx index 8ed9fae28..b8635563b 100644 --- a/packages/beacon-ui/src/components/info/index.tsx +++ b/packages/beacon-ui/src/components/info/index.tsx @@ -1,6 +1,7 @@ import React from 'react' import { QRCodeIcon } from '../icons' +import { Button, Grid2 } from '@mui/material' interface InfoProps { title: string @@ -21,40 +22,39 @@ interface InfoProps { const Info: React.FC = (props: InfoProps) => { return ( -
- {props.icon && ( -
- {props.icon} -
- )} -

{props.title}

- {props.description &&
{props.description}
} - {props.data &&
{props.data}
} -
+ + {props.icon && {props.icon}} +

{props.title}

+ {props.description && {props.description}} + {props.data &&
{props.data}
} + {props.buttons?.map((button, index) => ( - + ))} -
- {props.downloadLink && ( - - {props.downloadLink.label} - - )} + + {props.downloadLink && {props.downloadLink.label}} {props.onShowQRCodeClick && ( - + )} -
+ ) } diff --git a/packages/beacon-ui/src/components/wallets/index.tsx b/packages/beacon-ui/src/components/wallets/index.tsx index edce4ad49..d1d517ce4 100644 --- a/packages/beacon-ui/src/components/wallets/index.tsx +++ b/packages/beacon-ui/src/components/wallets/index.tsx @@ -1,7 +1,7 @@ import React from 'react' import { MergedWallet } from '../../utils/wallets' import Wallet from '../wallet' -import { Grid2 } from '@mui/material' +import { Button, Grid2 } from '@mui/material' interface WalletProps { wallets: MergedWallet[] @@ -34,9 +34,9 @@ const Wallets: React.FC = (props: WalletProps) => { }} /> ))} - + ) }