Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit ec43c99

Browse files
committed
this will be used later
tgui
1 parent 52e7b18 commit ec43c99

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
import { useBackend } from '../backend';
2+
import { Section, Stack } from '../components';
3+
import { Window } from '../layouts';
4+
5+
type Data = {
6+
antag_name: string;
7+
loud: boolean;
8+
};
9+
10+
type User = {
11+
psi_stamina : number;
12+
supressing : boolean;
13+
known_powers : Psi_Power;
14+
psi_faculties : Psi_Faculty[];
15+
16+
};
17+
18+
type Psi_Power = {
19+
name : string;
20+
description : string;
21+
22+
};
23+
24+
type Psi_Faculty = {
25+
rank : number;
26+
27+
}
28+
29+
export const PsionicComplexus = (props, context) => {
30+
const { data } = useBackend<Data>(context);
31+
return (
32+
<Window width={620} height={250}>
33+
<Window.Content>
34+
<Section scrollable fill>
35+
<Stack vertical>
36+
<Stack.Item textColor="red" fontSize="20px">
37+
Summary
38+
</Stack.Item>
39+
<Stack.Item>
40+
Power Usage
41+
</Stack.Item>
42+
</Stack>
43+
</Section>
44+
</Window.Content>
45+
</Window>
46+
);
47+
};
48+

0 commit comments

Comments
 (0)