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:
parent
e59c9ec714
commit
eab3bde184
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user