vscode-styled-components
vscode-styled-components copied to clipboard
Support for calling styled like a regular function?
Would it be possible to add syntax highlighting when styled is called like a regular function:
styled.div([], props => `
prop: ${props.some.prop};
`)
I really hated having to do ${props => props.some.prop} in templates all the time. So I switched to calling styled like this. Works like a charm except it loses syntax highlighting.