mirror of
https://github.com/hanzoai/prettier.git
synced 2026-09-24 17:02:04 +00:00
33 lines
442 B
JavaScript
33 lines
442 B
JavaScript
<style jsx>{`
|
|
p {
|
|
color: red;
|
|
}
|
|
`}</style>;
|
|
|
|
<style jsx>{tpl`
|
|
p {
|
|
color: red;
|
|
}
|
|
`}</style>;
|
|
|
|
<style jsx>
|
|
{`p {
|
|
color: red;
|
|
}
|
|
`}
|
|
</style>;
|
|
|
|
// #5886
|
|
<style jsx>{`
|
|
.class {
|
|
flex-direction: column${long_cond && long_cond && long_cond
|
|
? "-reverse"
|
|
: ""};
|
|
}
|
|
`}</style>;
|
|
<style jsx>{`
|
|
.class {
|
|
flex-direction: column${long_cond && long_cond && long_cond? "-reverse": ""};
|
|
}
|
|
`}</style>;
|