LF it all!! - And actual tgui3

This commit is contained in:
Letter N
2020-07-21 17:45:03 +08:00
parent 775d84370f
commit 9fa060de9e
10 changed files with 1243 additions and 1263 deletions
+4 -4
View File
@@ -275,11 +275,11 @@ interface.
Example (button):
```
```jsx
<ByondUi
params={{
id: 'test_button', // optional, can be auto-generated
parent: config.window,
parent: 'some_container', // optional, defaults to the current window
type: 'button',
text: 'Hello, world!',
}} />
@@ -287,11 +287,10 @@ Example (button):
Example (map):
```
```jsx
<ByondUi
params={{
id: 'test_map',
parent: config.window,
type: 'map',
}} />
```
@@ -982,6 +981,7 @@ Example:
- `className: string` - Applies a CSS class to the element.
- `theme: string` - A name of the theme.
- For a list of themes, see `packages/tgui/styles/themes`.
- `title: string` - Window title.
- `resizable: boolean` - Controls resizability of the window.
- `children: any` - Child elements, which are rendered directly inside the
window. If you use a [Dimmer](#dimmer) or [Modal](#modal) in your UI,