@samitouri / QOS-React-2 / commits / 1a7a8486ca
Fork 0

The library for web and native user interfaces.

[docs] Make sure JSX comments code is in block

Paul O’Shannessy committed Jul 17, 2013 at 11:18 UTC 1a7a8486ca1c7b81e544014b270bab141a7cfb6b
1 file changed +1
docs/docs/02.1-jsx-in-depth.md
+1
@@ -152,6 +152,7 @@ var content = Container(null, window.isLoggedIn ? Nav(null) : Login(null));
152 ### Comments
153
154 It's easy to add comments within your JSX; they're just JS expressions:
155 +
156 ```javascript
157 var content = <Container>{/* this is a comment */}<Nav /></Container>;
158 ```