diff --git a/src/components/Checkbox/Checkbox.tsx b/src/components/Checkbox/Checkbox.tsx index 025c60e91..f0ab30b84 100644 --- a/src/components/Checkbox/Checkbox.tsx +++ b/src/components/Checkbox/Checkbox.tsx @@ -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)`