mirror of
https://github.com/trezor/trezor-wallet
synced 2025-01-11 16:41:06 +00:00
Fixed link dom props
This commit is contained in:
parent
90c266349d
commit
b151c9715b
@ -43,7 +43,7 @@
|
||||
"settings": {
|
||||
"import/resolver": {
|
||||
"babel-module": {}
|
||||
},
|
||||
},
|
||||
"import/ignore": [
|
||||
"\\.(scss|less|css)$"
|
||||
]
|
||||
|
@ -55,13 +55,10 @@ class Link extends PureComponent {
|
||||
} else {
|
||||
LinkComponent = (
|
||||
<A
|
||||
className={this.props.className}
|
||||
href={this.props.href}
|
||||
target={this.props.target || '_blank'}
|
||||
rel="noreferrer noopener"
|
||||
onClick={this.props.onClick}
|
||||
isGreen={this.props.isGreen}
|
||||
isGray={this.props.isGray}
|
||||
{...this.props}
|
||||
>{this.props.children}
|
||||
</A>
|
||||
);
|
||||
@ -87,4 +84,4 @@ Link.propTypes = {
|
||||
isGray: PropTypes.bool,
|
||||
};
|
||||
|
||||
export default Link;
|
||||
export default Link;
|
Loading…
Reference in New Issue
Block a user