Konstantin Chukharev

Results comments of Konstantin Chukharev

Are these issues related? https://github.com/prettier/prettier/issues/6259

@dawidk92 you have to use `css` helper when you use this approach: ```javascript const BrokenComponent = styled.div( ({ fontSize, align }) =>` ${stylesWithParams("red")}; font-size: ${fontSize}; text-align: ${align}; ` ); ```...

You could use `as` prop: https://styled-components.com/docs/api#as-polymorphic-prop Or use `className` prop: ``` const Button = ({ className, children, href, onClick }) => { if(href) { return {children}; } return {children}; };...