Commit 13c8903e authored by Ian Lapham's avatar Ian Lapham Committed by GitHub

add border to QR scanner (#877)

parent 1d06b47e
...@@ -10,11 +10,15 @@ const QRCodeWrapper = styled.div` ...@@ -10,11 +10,15 @@ const QRCodeWrapper = styled.div`
margin-bottom: 20px; margin-bottom: 20px;
` `
const StyledQRCode = styled(QRCode)`
border: 3px solid white;
`
interface WalletConnectDataProps { interface WalletConnectDataProps {
uri?: string uri?: string
size: number size: number
} }
export default function WalletConnectData({ uri = '', size }: WalletConnectDataProps) { export default function WalletConnectData({ uri = '', size }: WalletConnectDataProps) {
return <QRCodeWrapper>{uri && <QRCode size={size} value={uri} />}</QRCodeWrapper> return <QRCodeWrapper>{uri && <StyledQRCode size={size} value={uri} />}</QRCodeWrapper>
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment