@ -4,7 +4,8 @@ import styled from 'styled-components';
import React from 'react' ;
import React from 'react' ;
import { NavLink } from 'react-router-dom' ;
import { NavLink } from 'react-router-dom' ;
import { ExternalCoinLink , WalletCoinLink } from './CoinLink/' ;
import AsideRowCoinWallet from './AsideRowCoinWallet' ;
import AsideRowCoinExternal from './AsideRowCoinExternal' ;
import AsideDivider from './AsideDivider' ;
import AsideDivider from './AsideDivider' ;
import type { TrezorDevice } from 'flowtype' ;
import type { TrezorDevice } from 'flowtype' ;
@ -41,7 +42,7 @@ const CoinSelection = (props: Props): React$Element<string> => {
}
}
return (
return (
< WalletCoinLink
< AsideRowCoin Wallet
key = { item . network }
key = { item . network }
coin = { {
coin = { {
img : coinImg ,
img : coinImg ,
@ -60,42 +61,42 @@ const CoinSelection = (props: Props): React$Element<string> => {
textRight = { '(You will be redirected)' }
textRight = { '(You will be redirected)' }
/ >
/ >
< ExternalCoinLink
< AsideRowCoin External
coin = { {
coin = { {
img : 'btc' ,
img : 'btc' ,
name : 'Bitcoin' ,
name : 'Bitcoin' ,
} }
} }
url = { 'https://wallet.trezor.io/#/coin/ltc' }
url = { 'https://wallet.trezor.io/#/coin/ltc' }
/ >
/ >
< ExternalCoinLink
< AsideRowCoin External
coin = { {
coin = { {
img : 'ltc' ,
img : 'ltc' ,
name : 'Litecoin' ,
name : 'Litecoin' ,
} }
} }
url = { 'https://wallet.trezor.io/#/coin/ltc' }
url = { 'https://wallet.trezor.io/#/coin/ltc' }
/ >
/ >
< ExternalCoinLink
< AsideRowCoin External
coin = { {
coin = { {
img : 'bch' ,
img : 'bch' ,
name : 'Bitcoin Cash' ,
name : 'Bitcoin Cash' ,
} }
} }
url = { 'https://wallet.trezor.io/#/coin/bch' }
url = { 'https://wallet.trezor.io/#/coin/bch' }
/ >
/ >
< ExternalCoinLink
< AsideRowCoin External
coin = { {
coin = { {
img : 'btg' ,
img : 'btg' ,
name : 'Bitcoin Gold' ,
name : 'Bitcoin Gold' ,
} }
} }
url = { 'https://wallet.trezor.io/#/coin/btg' }
url = { 'https://wallet.trezor.io/#/coin/btg' }
/ >
/ >
< ExternalCoinLink
< AsideRowCoin External
coin = { {
coin = { {
img : 'Dash' ,
img : 'Dash' ,
name : 'Dash' ,
name : 'Dash' ,
} }
} }
url = { 'https://wallet.trezor.io/#/coin/dash' }
url = { 'https://wallet.trezor.io/#/coin/dash' }
/ >
/ >
< ExternalCoinLink
< AsideRowCoin External
coin = { {
coin = { {
img : 'zec' ,
img : 'zec' ,
name : 'Zcash' ,
name : 'Zcash' ,