styled-components-breakpoint
styled-components-breakpoint copied to clipboard
Formatting css inside the template strings
Prettier doesn't seems to work with css inside the template string.
As a workaround, seems possible to enable formatting by using the styled-components helper function css
export const SC = styled.div`
${breakpoint('lg')`${css`
height: 100%;
`}`}
`;
but as you can see, is doesn't look good, any alternatives?