mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
This commit is contained in:
parent
da40e05fd8
commit
d353f71619
10 changed files with 214 additions and 160 deletions
|
|
@ -29,6 +29,7 @@ return Button
|
|||
|
||||
```lua [App.luau]
|
||||
local vide = require(vide)
|
||||
local mount = vide.mount
|
||||
local create = vide.create
|
||||
|
||||
local Button = require(Button)
|
||||
|
|
@ -46,7 +47,7 @@ local function App()
|
|||
}
|
||||
end
|
||||
|
||||
root(App).Parent = game.StarterGui
|
||||
mount(App, game.StarterGui)
|
||||
```
|
||||
|
||||
Above is a simple example of a button component with a set color and size,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue