Moved props explanation to top for better visibility

This commit is contained in:
sindri 2026-03-03 13:39:09 +01:00 committed by GitHub
parent ef4c336650
commit 042d56bf73
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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]