Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
${({ error }) =>
!!error &&
css`
input,
textarea,
select {
border-color: ${colors.darkOrange};
}
`}
`;
${({ error }) => {
if (error) {
return `
border: 1px solid ${colors.darkOrange};
border-radius: 2px;
`;
}
}}