=
with jsx
const x = 5;
let text = "Goodbye";
if (x < 10) {
text = "Hello";
}
const myElement = <h1>{text}</h1>;
=
without jsx
const x = 5;
const myElement = <h1>{(x) < 10 ? "Hello" : "Goodbye"}</h1>;
=
Midjourney oter.ai aiva googlegemin dall-e copilot jasper copilot openaiplayground
No comments:
Post a Comment