LF it all!! - And actual tgui3
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user