styled_jsx 10.0.0

AST transforms visitor for styled-jsx
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
export default function IndexPage() {
    return (
        <div>
            <h1>Hello World.</h1>

            <style jsx global>{`
                .container {
                    & > div {
                        color: green;
                    }
                }
        `}</style>
        </div>
    );
}