SHARE
TWEET

Untitled

a guest Jan 22nd, 2020 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top