Skip to content

Commit

Permalink
polish documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
gre committed Oct 9, 2015
1 parent af7ead3 commit e0eefce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/createComponent.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This was limited and verbose, also didn't allow some features to be implemented.

**`GL.createComponent` is a function used to create a GL Component.**

We called **GL Component** a React Component that always either renders a `GL.View` or another **GL Component**.
We call **GL Component** a React Component that always either renders a `GL.View` or another **GL Component**.

`GL.createComponent(props => glView)` takes a render function *(takes props object in parameter and returns a GL.View or GL Component)*.

Expand Down

0 comments on commit e0eefce

Please sign in to comment.