mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-15 21:08:57 +00:00
Fix button
This commit is contained in:
parent
6ac2417534
commit
7e6c8399ec
@ -108,7 +108,7 @@ const Wrapper = styled.button`
|
||||
`;
|
||||
|
||||
const IconWrapper = styled.span`
|
||||
${props => (props.hasText ? 'margin-right: 8px;' : '')};
|
||||
${props => (props.hasChildren ? 'margin-right: 8px;' : '')};
|
||||
`;
|
||||
|
||||
const Button = ({
|
||||
@ -125,7 +125,7 @@ const Button = ({
|
||||
>
|
||||
{icon && (
|
||||
<IconWrapper
|
||||
hasText={!!text}
|
||||
hasChildren={!!children}
|
||||
>
|
||||
<Icon
|
||||
icon={icon.type}
|
||||
|
Loading…
Reference in New Issue
Block a user