import React from 'react'; import { styled } from '@jarvisnetwork/ui'; import { Connector } from '@web3-react/types'; import { walletConnect, injected, coinbaseWallet } from '../Connectors'; import { ModalContainer } from '../ModalComponents'; export interface PageProps { onPrev: () => void; onNext: () => void; } const metamask = ( ); const walletconnect = ( ); const coinbase = ( ); const ModalTitle = styled.div` font-size: 20px; text-align: center; margin-bottom: 25px; @media screen and (max-width: ${(props) => props.theme.rwd.breakpoints[props.theme.rwd.mobileIndex]}px) { margin: 2vh 0; } `; const WalletButtons = styled.div` display: flex; flex-wrap: wrap; justify-content: center; padding-bottom: 30px; `; const WalletButton = styled.div` cursor: pointer; border-radius: 10px; border: 1px solid #f1f1f1; display: flex; padding: 16px 8px; margin: 5px; width: 200px; font-size: 16px; > :first-child { width: 30px; height: 30px; margin-left: 8px; margin-right: 18px; } `; export const WalletPicker: React.FC = (): JSX.Element => { const handleLoginFactory = (connector: Connector) => () => { connector.activate(); }; return ( Choose you wallet {metamask} Connect with MetaMask {walletconnect} Connect with WalletConnect {coinbase} Connect with WalletLink ); };