Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
Fixes typo in components tutorial (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kampfkarren authored and LPGhatguy committed May 26, 2019
1 parent 2fb60ea commit 19f37fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guide/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ local function Greeting(props)
end

local function GreetEveryone()
return Roact.createElement("ScreenGui", {
return Roact.createElement("ScreenGui", {}, {
Layout = Roact.createElement("UIListLayout"),

HelloJoe = Roact.createElement(Greeting, {
Expand Down Expand Up @@ -115,4 +115,4 @@ while true do
currentTime = currentTime
}))
end
```
```

0 comments on commit 19f37fe

Please sign in to comment.