Last active
August 29, 2015 14:26
-
-
Save isnifer/7e4b3b7b5119c3894bc9 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
// In React Component | |
import React from 'react'; | |
import FluxComponent from 'flummox/component'; | |
/* Components */ | |
import GiveawaySearch from '../common/GiveawaySearch'; | |
import Footer from '../common/Footer'; | |
import Content from '../common/Content'; | |
import Container from '../common/Container'; | |
import Giveaways from '../pageComponents/MainPage/Giveaways'; | |
import Top from '../pageComponents/MainPage/Top'; | |
const MainPage = React.createClass({ | |
render () { | |
return ( | |
<Content> | |
<GiveawaySearch /> | |
<Container> | |
<FluxComponent connectToStores={['MainPage']}> | |
<Giveaways /> | |
<Top /> | |
<Footer /> | |
</FluxComponent> | |
</Container> | |
</Content> | |
); | |
} | |
}); | |
export default MainPage; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment