web: components: RadioButton: fixed
This commit is contained in:
parent
52e88db947
commit
ae413c3c72
@ -59,8 +59,8 @@ const TextBody = ({ isDisabled, ...props }) => <Text.Body {...props} />;
|
||||
const StyledText = styled(TextBody)`
|
||||
color: ${props => props.isDisabled ? disableColor : activeColor};
|
||||
`;
|
||||
|
||||
const StyledSpan = styled.span`
|
||||
const ClearSpan = ({ spacing, ...props }) => <span {...props}></span>;
|
||||
const StyledSpan = styled(ClearSpan)`
|
||||
&:not(:first-child) {
|
||||
margin-left: ${props => props.spacing}px;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user