styled components pseudo elements code example
Example 1: styled components hover
const Link = styled.a`
text-decoration: none;
color: inherit;
&:hover {
//your code
}
`;
Example 2: styled components attrs
export const TextInputElement = styled.TextInput.attrs(props => ({
placeholderTextColor: props.ColorPlaceholder,
}))`
font-size: 15px;
line-height: 18px;
color: '#000';
`;