Closed
Description
This is a feature request.
Currently, intellisense does not work when using @apply
directive inside styled-jsx. It works fine if I use it on a CSS file, or inside a style
tag in HTML. And since, the syntax of styled-jsx is not much different from style
element, I think this feature can be implemented.
Sample code:
const Hero: React.FC = () => (
<section>
Hey There
<style jsx>{`
section {
@apply w-screen h-screen bg-black;
}
`}</style>
</section>
);
export default Hero;