Skip to content

Commit

Permalink
Update src/components/Checkbox/Checkbox.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Oliver Baker <[email protected]>
  • Loading branch information
cnkeats and aVileBroker authored Apr 4, 2022
1 parent 19a9504 commit c4a2137
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/components/Checkbox/Checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,12 @@ export const CheckboxContainer = styled.div`
`;

export const BaseIcon = styled(Icon)`
${({ color }) => {
return `
overflow: visible;
color: ${color};
width: 1em;
height: 1em;
`;
}}
${({ color }) => `
overflow: visible;
color: ${color};
width: 1em;
height: 1em;
`}
` as StyledSubcomponentType;

const CheckIcon = styled(BaseIcon)`
Expand Down

0 comments on commit c4a2137

Please sign in to comment.