mirror of
https://github.com/centau/vide.git
synced 2026-08-20 23:01:37 +00:00
Moved props explanation to top for better visibility
This commit is contained in:
parent
ef4c336650
commit
042d56bf73
1 changed files with 2 additions and 0 deletions
|
|
@ -8,6 +8,8 @@ A component is a function that creates and returns a piece of UI.
|
|||
This is a way to separate your UI into small chunks that you can reuse and put
|
||||
together.
|
||||
|
||||
A single parameter `props` is used to pass properties to the component.
|
||||
|
||||
::: code-group
|
||||
|
||||
```lua [Button.luau]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue