Created
September 23, 2015 16:24
-
-
Save kimmobrunfeldt/a90cc6f7ea1473371457 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
const Items = React.createClass({ | |
render() { | |
return [ | |
<li>1</li>, | |
<li>2</li> | |
]; | |
} | |
}); | |
const List = React.createClass({ | |
render() { | |
return <ul> | |
<Items /> | |
<ul>; | |
} | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment