poly_styled_jsx 0.6.1

AST transforms 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>{`
          @supports (display: flex) {
            h1 {
              color: hotpink;
            }
          }
        `}</style>
      </div>
    );
  }