Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
${props =>
props.error &&
css`
color: ${color.error()} !important;
`};
`
${props =>
props.error &&
css`
color: ${color.error()} !important;
`};
`
box-shadow: 0 0 0 2px ${p => (p.error ? color.error() : 'transparent')};