Skip to content

Commit

Permalink
fix(client): thunder styled-component isLarge prop
Browse files Browse the repository at this point in the history
  • Loading branch information
Jozwiaczek committed Nov 4, 2021
1 parent 007628b commit ee87f2f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ export const ContentWrapper = styled.div`
`;

export const Thunder = styled(ThunderIcon)<ThunderProps>(
({ isLarge }) => css`
width: ${isLarge ? 106 : 52}px;
height: ${isLarge ? 64 : 32}px;
({ $isLarge }) => css`
width: ${$isLarge ? 106 : 52}px;
height: ${$isLarge ? 64 : 32}px;
`,
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ interface CircleLoaderProps {
}

interface ThunderProps {
isLarge: boolean;
$isLarge: boolean;
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const CircleLoader = ({ variant, label }: CircleLoaderProps) => {
<BackgroundCircle size={size} />
<Indicator size={size} />
<ContentWrapper>
<Thunder isLarge={isLarge} />
<Thunder $isLarge={isLarge} />
{isLarge && label && <Label>{t(label)}</Label>}
</ContentWrapper>
</Wrapper>
Expand Down

0 comments on commit ee87f2f

Please sign in to comment.