update namespaced component to adapt with the v0.12
Pedro Nauck committed
Nov 5, 2014 at 12:32 UTC
a7f157ebb15cacf8dc9e274f390f96ff92f2e3a6
1 file changed
+4
-4
docs/docs/02.1-jsx-in-depth.md
+4
-4
@@ -136,10 +136,10 @@ JSX will take care to make the things right when compile your code.
136
137
```javascript
138
var App = (
139
- Form(null,
140
- Form.Row(null,
141
- Form.Label(null),
142
- Form.Input(null)
139
+ React.createElement(Form, null,
140
+ React.createElement(Form.Row, null,
141
+ React.createElement(Form.Label, null),
142
+ React.createElement(Form.Input, null)
143
)
144
)
145
);