-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from perawallet/next-release
perawallet/[email protected]
- Loading branch information
Showing
11 changed files
with
1,637 additions
and
8 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,44 @@ | ||
import "./_pera-wallet-sign-txn-toast.scss"; | ||
|
||
import CloseIcon from "../../asset/icon/Close--small.svg"; | ||
import animationData from "./lotties/Animation.json"; | ||
|
||
import React from "react"; | ||
import Lottie from "lottie-react"; | ||
|
||
interface PeraWalletSignTxnToastProps { | ||
onClose: () => void; | ||
} | ||
|
||
function PeraWalletSignTxnToast({onClose}: PeraWalletSignTxnToastProps) { | ||
return ( | ||
<div className={"pera-wallet-sign-txn-toast"}> | ||
<div className={"pera-wallet-sign-txn-toast__header"}> | ||
<button | ||
className={"pera-wallet-sign-txn-toast__header__close-button"} | ||
onClick={onClose}> | ||
<img src={CloseIcon} /> | ||
</button> | ||
</div> | ||
|
||
<div className={"pera-wallet-sign-txn-toast__content"}> | ||
<Lottie | ||
className={"pera-wallet-sign-txn-toast__content__lottie-animation"} | ||
animationData={animationData} | ||
width={368} | ||
height={368} | ||
/> | ||
|
||
<p className={"pera-wallet-sign-txn-toast__content__description"}> | ||
{"Please launch "} | ||
|
||
<b>{"Pera Wallet"}</b> | ||
|
||
{" on your iOS or Android device to sign this transaction."} | ||
</p> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default PeraWalletSignTxnToast; |
Oops, something went wrong.