1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-07-03 21:32:34 +00:00
trezor-wallet/src/js/components/AddressTab.js
Szymon Lesisz 6a9fde9f86 first
2017-12-13 12:01:37 +01:00

27 lines
596 B
JavaScript

/* @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;