1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-10-31 21:18:54 +00:00
trezor-wallet/src/js/components/common/Footer.js

33 lines
848 B
JavaScript
Raw Normal View History

2018-02-20 09:30:36 +00:00
/* @flow */
'use strict';
import React from 'react';
2018-03-08 16:10:53 +00:00
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import * as LogActions from '../../actions/LogActions';
2018-02-20 09:30:36 +00:00
const Footer = (props: any): any => {
return (
<footer>
<span>© 2018</span>
2018-03-08 16:10:53 +00:00
<a href="http://satoshilabs.com" target="_blank" rel="noreferrer noopener" className="satoshi green">SatoshiLabs</a>
<a href="tos.pdf" target="_blank" rel="noreferrer noopener" className="green">Terms</a>
<a onClick={ props.toggle } className="green">Show Log</a>
2018-02-20 09:30:36 +00:00
</footer>
);
}
2018-03-08 16:10:53 +00:00
export default connect(
(state) => {
return {
}
},
(dispatch) => {
return {
toggle: bindActionCreators(LogActions.toggle, dispatch),
};
}
)(Footer);