-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- [GSW-471-fix-assets-wallet] API list assets and handle balance - [GSM-471-fix-assets-wallet] Header deposit modal - [GSM-471-fix-assets-wallet] Default sorting order - [GSM-471-fix-assets-wallet] Show modals deposit/withdraw - [GSM-471-fix-assets-wallet] Clickable Claim All - [GSM-471-fix-assets-wallet] Show chain in assets list - [GSM-471-fix-assets-wallet] Text change Add -> Create - [GSM-471-fix-assets-wallet] Add commas (,) for every 1,000 places.
- Loading branch information
1 parent
146980d
commit c1baca9
Showing
29 changed files
with
1,169 additions
and
490 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import styled from "@emotion/styled"; | ||
|
||
export const QRCodeContainer = styled.div` | ||
padding: 10px; | ||
background-color: #fff; | ||
border: 1px solid ${({ theme }) => theme.color.border02}; | ||
border-radius: 8px; | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { QRCodeSVG } from "qrcode.react"; | ||
import { QRCodeContainer } from "./QRCode.styled"; | ||
|
||
type Props = { | ||
text: string; | ||
size: number; | ||
logo: string; | ||
}; | ||
|
||
export const QRCodeGenerator = ({ text, size = 200, logo }: Props) => { | ||
return ( | ||
<QRCodeContainer> | ||
<QRCodeSVG | ||
value={text} | ||
size={size} | ||
imageSettings={{ | ||
src: logo, | ||
x: undefined, | ||
y: undefined, | ||
height: 24, | ||
width: 24, | ||
excavate: false, | ||
}} | ||
/> | ||
</QRCodeContainer> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.