Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Youtube in React: show side bar and header in app component
import React, {Component} from 'react';
import HeaderNav from './containers/HeaderNav/HeaderNav';
import {SideBar} from './containers/SideBar/SideBar';
class App extends Component {
render() {
return (
<React.Fragment>
<HeaderNav/>
<SideBar/>
</React.Fragment>
);
}
}
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.