/* @flow */ 'use strict'; import React from 'react'; import { Link, NavLink } from 'react-router-dom'; import type { Props } from './index'; import type { TrezorDevice } from '../../../flowtype'; const CoinSelection = (props: Props): React$Element => { const { location } = props.router; const { config } = props.localStorage; const walletCoins = config.coins.map(item => { const url = `${ location.pathname }/network/${ item.network }/address/0`; const className = `coin ${ item.network }` return ( { item.name } ) }) return (
{ walletCoins }
Other coins (You will be redirected)
Bitcoin Litecoin Bitcoin Cash Bitcoin Gold Dash Zcash
); } export default CoinSelection;