mirror of
https://github.com/trezor/trezor-wallet
synced 2024-12-29 02:18:06 +00:00
pass className prop to enable component styling
This commit is contained in:
parent
ddf85952fc
commit
57ad70cd60
@ -28,9 +28,9 @@ class CoinLogo extends PureComponent {
|
||||
}
|
||||
|
||||
render() {
|
||||
const { network } = this.props;
|
||||
const { network, className } = this.props;
|
||||
return (
|
||||
<Wrapper>
|
||||
<Wrapper className={className}>
|
||||
<Logo
|
||||
hasLongIcon={this.hasLongIcon(network)}
|
||||
src={require(`./images/${network}.png`)} // eslint-disable-line
|
||||
@ -42,6 +42,7 @@ class CoinLogo extends PureComponent {
|
||||
|
||||
CoinLogo.propTypes = {
|
||||
network: PropTypes.string,
|
||||
className: PropTypes.string,
|
||||
};
|
||||
|
||||
export default CoinLogo;
|
||||
|
Loading…
Reference in New Issue
Block a user