mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
Update docs
This commit is contained in:
parent
8a4aae1be9
commit
4b877ce8ff
4 changed files with 20 additions and 25 deletions
|
|
@ -23,7 +23,7 @@ local function Counter()
|
|||
instance.Text = "count: " .. count()
|
||||
end)
|
||||
|
||||
return count
|
||||
return instance
|
||||
end
|
||||
```
|
||||
|
||||
|
|
@ -49,7 +49,7 @@ local function Counter(props: { count: () -> number })
|
|||
instance.Text = "count: " .. count()
|
||||
end)
|
||||
|
||||
return count
|
||||
return instance
|
||||
end
|
||||
|
||||
local count = source(0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue