1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-01 04:38:15 +00:00

Link component: target parameter

This commit is contained in:
Szymon Lesisz 2018-10-11 13:06:51 +02:00
parent e59c9ec714
commit eab3bde184

View File

@ -62,7 +62,7 @@ class Link extends PureComponent {
<A
className={this.props.className}
href={this.props.href}
target="_blank"
target={this.props.target || '_blank'}
rel="noreferrer noopener"
onClick={this.props.onClick}
isGreen={this.props.isGreen}
@ -84,6 +84,7 @@ Link.propTypes = {
]).isRequired,
className: PropTypes.string,
href: PropTypes.string,
target: PropTypes.string,
to: PropTypes.string,
onClick: PropTypes.func,
isGreen: PropTypes.bool,