border: ${(props: { error: boolean }) => (props.error ? '1px solid #F20D19' : '1px solid transparent')}; export const Img = styled.img<{ alt: string, src: string}>` margin-right: 15px; `;
border: ${(props: { error: boolean }) => (props.error ? '1px solid #F20D19' : '1px solid transparent')}; export const Img = styled.img<{ alt: string, src: string}>` margin-right: 15px; `;