Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /////////////////////////////////////////////////
- Classe New campaigs
- //////////////////////////////////////////////////
- import React, { Component } from 'react';
- import NavBar from './NavBar';
- class NewCampaigns extends Component {
- render() {
- return (
- <div>
- <NavBar />
- </div>
- );
- }
- }
- export default NewCampaigns;
- ///////////////////////////////////////////////
- Class NavBar
- ////////////////////////////////////////////////////////
- import React from 'react';
- import AppBar from '@material-ui/core/AppBar';
- import Typography from '@material-ui/core/Typography';
- const NavBar = () => {
- return(
- <di>
- <AppBar position="static">
- <Typography variant="title" color="inherit">
- React & material
- </Typography>
- </AppBar>
- </di>
- )
- }
- export default NavBar;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement