16f7084e7f
* Move * Adjust * publish = false * Tree * Move tests * fixup * Split `emotion` * Split `styled_jsx` * Split `styled_jsx` * fmt * `--fix` * clippy * Update crates * fixup * publish * Bump * Rename * authors * Update * More update * Oh * Update test refs * Update test refs * Update again * Fix
25 lines
694 B
JavaScript
25 lines
694 B
JavaScript
import _JSXStyle from "styled-jsx/style";
|
|
export default class {
|
|
render() {
|
|
const Element = 'div';
|
|
return <Element className={"jsx-f825b24bbab5b83b" + " " + "root"}>
|
|
|
|
<p className={"jsx-f825b24bbab5b83b"}>dynamic element</p>
|
|
|
|
<_JSXStyle id={"f825b24bbab5b83b"}>{".root.jsx-f825b24bbab5b83b{background:red}"}</_JSXStyle>
|
|
|
|
</Element>;
|
|
}
|
|
};
|
|
const Element2 = 'div';
|
|
export const Test2 = class {
|
|
render() {
|
|
return <Element2 className="root">
|
|
|
|
<p className={"jsx-f825b24bbab5b83b"}>dynamic element</p>
|
|
|
|
<_JSXStyle id={"f825b24bbab5b83b"}>{".root.jsx-f825b24bbab5b83b{background:red}"}</_JSXStyle>
|
|
|
|
</Element2>;
|
|
}
|
|
};
|