Guest User

Untitled

a guest
Dec 12th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. ...
  2. render() {
  3. ...
  4.  
  5. return (
  6. <div className="App">
  7. <GlobalErrorBoundary>
  8. <MuiThemeProvider theme={theme}>
  9. <header className="App-header">
  10. <TopBar title="Meteorite Explorer"/>
  11. </header>
  12.  
  13. <section className="App-search">
  14. <Search publishSearchTerms={this.publishSearchTerms} />
  15. </section>
  16.  
  17. <section className="App-results">
  18. <div>
  19. {this.state.isDataLoaded ?
  20. ( <MeteoriteTable meteoriteStrikes={ this.state.meteoriteStrikes }
  21. searchTerms={ this.state.searchTerms } /> )
  22. : (' ')
  23. }
  24. </div>
  25. </section>
  26.  
  27. <footer className="App-footer">
  28. <BottomBar title="Data courtesy Nasa Open Data Portal"
  29. href={ process.env.REACT_APP_METEORITE_LANDING_HOMEPAGE } />
  30. </footer>
  31. </MuiThemeProvider>
  32. </GlobalErrorBoundary>
  33. </div>
  34. );
  35. }
  36. ...
Add Comment
Please, Sign In to add comment