Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2020
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. /////////////////////////////////////////////////
  2. Classe New campaigs
  3. //////////////////////////////////////////////////
  4. import React, { Component } from 'react';
  5. import NavBar from './NavBar';
  6.  
  7. class NewCampaigns extends Component {
  8.  
  9.  
  10. render() {
  11.  
  12. return (
  13. <div>
  14. <NavBar />
  15. </div>
  16. );
  17. }
  18. }
  19.  
  20.  
  21. export default NewCampaigns;
  22. ///////////////////////////////////////////////
  23. Class NavBar
  24. ////////////////////////////////////////////////////////
  25. import React from 'react';
  26. import AppBar from '@material-ui/core/AppBar';
  27. import Typography from '@material-ui/core/Typography';
  28.  
  29. const NavBar = () => {
  30. return(
  31. <di>
  32. <AppBar position="static">
  33. <Typography variant="title" color="inherit">
  34. React & material
  35. </Typography>
  36. </AppBar>
  37. </di>
  38. )
  39. }
  40.  
  41. export default NavBar;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement