mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 14:38:50 +00:00
Update lib information and examples
This commit is contained in:
1 parent
4cc2aa440b
commit
8972054319
4 files changed
+24
-23
No files matched your search
@@ -22,14 +22,13 @@ lib.showTextUI(text, options)
|
||||
|
||||
**Example:**
|
||||
<Tabs>
|
||||
<TabItem label="Default" value="default">
|
||||
<TabItem label="Basic" value="basic">
|
||||
|
||||
```lua
|
||||
lib.showTextUI('[E] - Fuel vehicle', {
|
||||
position = "top-center",
|
||||
icon = "gas-pump",
|
||||
})
|
||||
lib.showTextUI('[E] - Fuel vehicle')
|
||||
```
|
||||
|
||||

|
||||
</TabItem>
|
||||
<TabItem label="Custom style" value="custom">
|
||||
|
||||
@@ -37,14 +36,15 @@ lib.showTextUI('[E] - Fuel vehicle', {
|
||||
lib.showTextUI('[E] - Pick apple', {
|
||||
position = "top-center",
|
||||
icon = 'hand',
|
||||
iconColor = "red",
|
||||
style = {
|
||||
borderRadius = 0,
|
||||
backgroundColor = 'blue',
|
||||
color = 'red'
|
||||
backgroundColor = '#48BB78',
|
||||
color = 'white'
|
||||
}
|
||||
})
|
||||
```
|
||||
|
||||

|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
|
||||
Reference in new issue
Block a user