styled-components conditional rennder code example
Example: styled components conditional hover
import { css, styled } from 'styled-components'
styled.div`
${props => props.shouldHover && css`
&:hover {
background: 'red';
}
`}
`