The library for web and native user interfaces.
Emphasis on single child.
Cheng Lou committed
Jul 6, 2013 at 16:10 UTC
858377946fe5d28773fe174071a1d3a922695a07
1 file changed
+1
-1
docs/docs/api.md
+1
-1
@@ -50,7 +50,7 @@ React.createClass({
50
function createClass(object specification)
51
```
52
53
-Creates a component given a specification. A component implements a `render` method which returns a single child. That child may have an arbitrarily deep child structure. One thing that makes components different than a standard prototypal classes is that you don't need to call new on them. They are convenience wrappers that construct backing instances (via new) for you.
53
+Creates a component given a specification. A component implements a `render` method which returns **one single** child. That child may have an arbitrarily deep child structure. One thing that makes components different than a standard prototypal classes is that you don't need to call new on them. They are convenience wrappers that construct backing instances (via new) for you.
54
55
#### React.renderComponent
56