@samitouri / QOS-React-2 / commits / 6daa22be5a

Docs: Clarify that React.PropTypes.node accepts fragments

As of #3293 `ReactFragment` counts as a node, but this isn't made clear in the docs.

Alex Lopatin committed Mar 25, 2015 at 17:17 UTC 6daa22be5a051f70fa7c4b5c14f70726da6e0e83
1 file changed +1 -1
docs/docs/05-reusable-components.md
+1 -1
@@ -26,7 +26,7 @@ React.createClass({
26 optionalString: React.PropTypes.string,
27
28 // Anything that can be rendered: numbers, strings, elements or an array
29 - // containing these types.
29 + // (or fragment) containing these types.
30 optionalNode: React.PropTypes.node,
31
32 // A React element.