30 lines
853 B
JavaScript
30 lines
853 B
JavaScript
|
import _JSXStyle from "styled-jsx/style";
|
||
|
export default class {
|
||
|
render() {
|
||
|
return <div className={_JSXStyle.dynamic([
|
||
|
[
|
||
|
"e9f85ed5d171a7cb",
|
||
|
[
|
||
|
a ? "100%" : "200px",
|
||
|
b ? "0" : "8px 20px"
|
||
|
]
|
||
|
]
|
||
|
])}>
|
||
|
<p className={_JSXStyle.dynamic([
|
||
|
[
|
||
|
"e9f85ed5d171a7cb",
|
||
|
[
|
||
|
a ? "100%" : "200px",
|
||
|
b ? "0" : "8px 20px"
|
||
|
]
|
||
|
]
|
||
|
])}>test</p>
|
||
|
<_JSXStyle id={"e9f85ed5d171a7cb"} dynamic={[
|
||
|
a ? "100%" : "200px",
|
||
|
b ? "0" : "8px 20px"
|
||
|
]}>{`.item.__jsx-style-dynamic-selector {max-width:${a ? "100%" : "200px"};
|
||
|
padding:${b ? "0" : "8px 20px"}}`}</_JSXStyle>
|
||
|
</div>;
|
||
|
}
|
||
|
}
|