Skip to content

Instantly share code, notes, and snippets.

@kimmobrunfeldt
Created September 23, 2015 16:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kimmobrunfeldt/a90cc6f7ea1473371457 to your computer and use it in GitHub Desktop.
Save kimmobrunfeldt/a90cc6f7ea1473371457 to your computer and use it in GitHub Desktop.
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