styled_jsx 3.0.0

AST transforms visitor for styled-jsx
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
const Test = () => (
    <div>
        <span>test</span>
        <style jsx>{`
        .p1 {
          background: purple !important;

          :global(.c1),
          .c2 {
            background: orange !important;
          }
        }

      `}</style>
    </div>
);