1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-15 21:08:57 +00:00

Fix button

This commit is contained in:
Vasek Mlejnsky 2018-08-30 14:35:35 +02:00
parent 6ac2417534
commit 7e6c8399ec

View File

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