-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex--empty.tsx.txt
More file actions
52 lines (49 loc) · 1.02 KB
/
index--empty.tsx.txt
File metadata and controls
52 lines (49 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// register Metro design fonts
import "com.sweaxizone.metro/fonts";
// third-party
import { createRoot } from "react-dom/client";
import * as React from "react";
import {
Root,
Group,
HGroup,
VGroup,
Button,
Label,
Icon,
TextInput,
} from "com.sweaxizone.metro/components";
import { RTLProvider } from "com.sweaxizone.metro/layout";
import {
Primary,
ThemePresets,
ThemeProvider,
type Theme,
} from "com.sweaxizone.metro/theme";
/**
* The test.
*/
function App() {
return (
<ThemeProvider theme={ThemePresets.get("dark")}>
<RTLProvider rtl={false}>
<Primary prefer={false}>
<Root
full
solid
selection={false}
style={{
overflowY: "auto",
}}
wheelVertical>
<VGroup padding={10} gap={10}>
</VGroup>
</Root>
</Primary>
</RTLProvider>
</ThemeProvider>
);
}
// Render App
const root = createRoot(document.getElementById("root")!);
root.render(<App />);