-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.jsx
More file actions
35 lines (34 loc) · 771 Bytes
/
sample.jsx
File metadata and controls
35 lines (34 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
var React = require('react/addons');
var MoreList = require("./more-list.jsx");
require("./more-list-styles.css");
React.render(
<MoreList id="fruits">
<li>Apple</li>
<li>Banana</li>
<li>Coconut</li>
<li>Durian</li>
<li>Elderberry</li>
<li>Fig</li>
<li>Grape</li>
<li>Huckleberry</li>
<li>Ita Palm</li>
<li>Jujubes</li>
<li>Kiwi</li>
<li>Lemon</li>
<li>Mango</li>
<li>Nectarine</li>
<li>Orange</li>
<li>Pineapple</li>
<li>Quince</li>
<li>Raspberry</li>
<li>Strawberry</li>
<li>Tangerine</li>
<li>Ugli</li>
<li>Voavanga</li>
<li>Watermelon</li>
<li>Xigua melon</li>
<li>Yellow watermelon</li>
<li>Zucchini</li>
</MoreList>,
document.getElementById('content')
);