Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var vadersEmpire = React.createClass({
getInitialState: function() {
return {
rebelLocation: ''
};
},
render: function() {
return (
<div>
<ImperialArmy />
<ImperialNavy />
<MilitaryIntel />
</div>
);
}
});
var ImperialArmy = React.createClass({
render: function() {
return (
<StormTrooper />
<ATAT />
<ATST />
);
}
});
var ImperialNavy = React.createClass({
render: function() {
return (
<TIEFighter />
<StarDestroyer />
);
}
});
var MilitaryIntel = React.createClass({
render: function() {
return (
<BountyHunter />
<ProbeDroid />
);
}
});
var StormTrooper = React.createClass({
render: function() {
return (
);
}
});
var ATAT = React.createClass({
render: function() {
return (
);
}
});
var ATST = React.createClass({
render: function() {
return (
);
}
});
var TIEFighter = React.createClass({
render: function() {
return (
);
}
});
var StarDestroyer = React.createClass({
render: function() {
return (
);
}
});
var BountyHunter = React.createClass({
render: function() {
return (
);
}
});
var ProbeDroid = React.createClass({
render: function() {
return (
);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment