From da5c58c33caffeead7b77b51272085b1336168ea Mon Sep 17 00:00:00 2001 From: SafePalWallet <52519650+SafePalWallet@users.noreply.github.com> Date: Wed, 3 Mar 2021 16:32:39 +0800 Subject: [PATCH] feat: Add SafePal Wallet (#202) * add SafePal Wallet login * fix build error * feat: Add SafePal Wallet login * fix: SafePalWallet.tsx build error Co-authored-by: LinnDang --- src/widgets/WalletModal/config.tsx | 6 ++++++ src/widgets/WalletModal/icons/SafePalWallet.tsx | 17 +++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 src/widgets/WalletModal/icons/SafePalWallet.tsx diff --git a/src/widgets/WalletModal/config.tsx b/src/widgets/WalletModal/config.tsx index 3c491a291..4b651e00f 100644 --- a/src/widgets/WalletModal/config.tsx +++ b/src/widgets/WalletModal/config.tsx @@ -4,6 +4,7 @@ import TokenPocket from "./icons/TokenPocket"; import TrustWallet from "./icons/TrustWallet"; import WalletConnect from "./icons/WalletConnect"; import BinanceChain from "./icons/BinanceChain"; +import SafePalWallet from "./icons/SafePalWallet"; import { Config, ConnectorNames } from "./types"; const connectors: Config[] = [ @@ -37,6 +38,11 @@ const connectors: Config[] = [ icon: BinanceChain, connectorId: ConnectorNames.BSC, }, + { + title: "SafePal Wallet", + icon: SafePalWallet, + connectorId: ConnectorNames.Injected, + }, ]; export default connectors; diff --git a/src/widgets/WalletModal/icons/SafePalWallet.tsx b/src/widgets/WalletModal/icons/SafePalWallet.tsx new file mode 100644 index 000000000..1475b9f5a --- /dev/null +++ b/src/widgets/WalletModal/icons/SafePalWallet.tsx @@ -0,0 +1,17 @@ +import React from "react"; +import Svg from "../../../components/Svg/Svg"; +import { SvgProps } from "../../../components/Svg/types"; + +const Icon: React.FC = (props) => { + return ( + + + + + ); +}; + +export default Icon;