Created
October 2, 2016 23:06
-
-
Save kbk0125/0b887b3cb621d1b17dbf3fa3470c2565 to your computer and use it in GitHub Desktop.
This file contains 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
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