styled_jsx 18.0.0

AST transforms visitor for styled-jsx
1
2
3
4
5
6
7
8
9
10
11
import _JSXStyle from "styled-jsx/style";
import styles, { foo as styles3 } from "./styles";
const styles2 = require("./styles2");
export default (()=><div>
    <p>test</p>
    <div>woot</div>
    <p>woot</p>
    <_JSXStyle id={styles2.__hash}>{styles2}</_JSXStyle>
    <_JSXStyle id={styles3.__hash}>{styles3}</_JSXStyle>
    <_JSXStyle id={styles.__hash}>{styles}</_JSXStyle>
  </div>);