CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 09:11:54 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=215fa316c19ff17a8d38e924aeb8477679d5db8980eddccd09875590101d1617a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22nv-9dsJdWj1GWQUwzfbQ5X3jUn4NFrsx%22%3B%7D; HttpOnly; Path=/
cf-ray: 98cd3b94ae82c464-BLR
jsx-demo.jsx - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { createRoot, useState } from '../src/jsx-runtime';
- function App() {
- const [count, setCount] = useState(0);
- const [name, setName] = useState('');
- const [volume, setVolume] = useState(0.5);
- const [enabled, setEnabled] = useState(false);
- // const App = MyApp;
- const Body = "Body";
- const Window = "Window";
- const Text = "Text";
- const Button = "Button";
- const SameLine = "SameLine";
- const Checkbox = "Checkbox";
- const InputText = "InputText";
- const SliderFloat = "SliderFloat";
- return (
- <App>
- <Body>
- <Window title="JSX ImGui Demo">
- <Text>Welcome to JSX ImGui!</Text>
- <Text>Count: {count}</Text>
- <Button onClick={() => setCount(count + 1)}>
- Clicked {count} times
- </Button>
- <SameLine />
- <Checkbox
- label="Enable Feature"
- checked={enabled}
- onChange={setEnabled}
- />
- <InputText
- label="Name"
- hint="Enter your name"
- value={name}
- onChange={setName}
- />
- <SliderFloat
- label="Volume"
- min={0}
- max={1}
- value={volume}
- onChange={setVolume}
- />
- </Window>
- </Body>
- </App>
- );
- }
- // var App = MyApp;
- export default App;
Advertisement
Add Comment
Please, Sign In to add comment
-
⭐ ✅ Free Products Method ✅ ✅ NEVER SEEN BEFOR...
JavaScript | 2 sec ago | 0.24 KB
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ T
JavaScript | 8 sec ago | 0.24 KB
-
⭐ ✅ Free Products Method ✅ ✅ NEVER SEEN BEFOR...
JavaScript | 9 sec ago | 0.24 KB
-
⭐ G2A Bug ⭐ (Get more on BTC swaps) ✅ NEVER S...
JavaScript | 18 sec ago | 0.24 KB
-
⭐✅ Swapzone Glitch ✅ Working⭐⭐⭐ V
JavaScript | 19 sec ago | 0.24 KB
-
⭐✅ Jack's Profit Method ✅ NEVER SEEN BEF...
JavaScript | 27 sec ago | 0.24 KB
-
✅ Make $2500 in 20 minutes⭐⭐⭐ 8
JavaScript | 30 sec ago | 0.24 KB
-
⭐⭐⭐Make $1500 in 20 minutes⭐⭐
Java | 32 sec ago | 0.10 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand