import React from 'react' ; import { SupportedProviders } from '../constants' ; import { Connector } from '../types' ; import { CeloDance } from './celo-dance' ; import { CeloWallet } from './celo-wallet' ; import { CeloExtensionWallet } from './cew' ; import { Ledger } from './ledger' ; import { MetaMaskOrInjectedWallet } from './metamask' ; import { PrivateKey } from './private-key' ; import { Valora } from './valora' ; import { WalletConnect } from './wallet-connect' ; export const defaultScreens = { [ SupportedProviders . Valora ] : Valora , [ SupportedProviders . MetaMask ] : MetaMaskOrInjectedWallet , [ SupportedProviders . WalletConnect ] : WalletConnect , [ SupportedProviders . Ledger ] : Ledger , [ SupportedProviders . CeloWallet ] : CeloWallet , [ SupportedProviders . CeloDance ] : CeloDance , [ SupportedProviders . CeloTerminal ] : WalletConnect , [ SupportedProviders . CeloExtensionWallet ] : CeloExtensionWallet , [ SupportedProviders . Injected ] : MetaMaskOrInjectedWallet , [ SupportedProviders . PrivateKey ] : PrivateKey , } ; export type ConnectorProps = { onSubmit : ( connector : Connector ) => void ; } ;