styled_jsx 2.0.0

AST transforms visitor for styled-jsx
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
const Test = () => (
  <div>
    <span>test</span>
    <style jsx>{`
        .parent {
          :global(div) {
            :global(&.child, &.child2) {
              background: orange;
            }
          }
        }
      `}</style>
  </div>
);