mirror of https://github.com/trezor/trezor-wallet
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
539 B
25 lines
539 B
import styled from 'styled-components';
|
|
import React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
import { NavLink } from 'react-router-dom';
|
|
|
|
import { coinProp } from './common';
|
|
import AsideRowCoin from './AsideRowCoin';
|
|
|
|
const Wrapper = styled(NavLink)`
|
|
display: block;
|
|
`;
|
|
|
|
const AsideRowCoinWallet = ({ coin, url }) => (
|
|
<Wrapper to={url}>
|
|
<AsideRowCoin coin={coin}/>
|
|
</Wrapper>
|
|
);
|
|
|
|
AsideRowCoinWallet.propTypes = {
|
|
...coinProp,
|
|
url: PropTypes.string.isRequired,
|
|
};
|
|
|
|
export default AsideRowCoinWallet;
|