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.
27 lines
596 B
27 lines
596 B
/* @flow */
|
|
'use strict';
|
|
|
|
import React from 'react';
|
|
import { Link } from 'react-router-dom';
|
|
|
|
const AddressTab = (props): any => {
|
|
|
|
const urlParams = props.match.params;
|
|
const basePath = `/address/${urlParams.address}`;
|
|
|
|
return (
|
|
<div className="address-menu">
|
|
<Link to={ `${basePath}` }>
|
|
History
|
|
</Link>
|
|
<Link to={ `${basePath}/send` }>
|
|
Send
|
|
</Link>
|
|
<Link to={ `${basePath}/receive` }>
|
|
Receive
|
|
</Link>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default AddressTab; |