1
0
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:
Vladimir Volek 2018-11-21 14:09:40 +01:00 committed by Szymon Lesisz
parent 90c266349d
commit b151c9715b
2 changed files with 3 additions and 6 deletions

View File

@ -43,7 +43,7 @@
"settings": {
"import/resolver": {
"babel-module": {}
},
},
"import/ignore": [
"\\.(scss|less|css)$"
]

View File

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