Last active
October 3, 2018 18:57
-
-
Save productioncoder/1da96d59337b410de9a5dede4b61b5f2 to your computer and use it in GitHub Desktop.
Home and VideoPreview component skeleton
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, {Component} from 'react'; | |
import HeaderNav from './containers/HeaderNav/HeaderNav'; | |
import {SideBar} from './containers/SideBar/SideBar'; | |
import {Home} from './containers/Home/Home'; | |
import './Home.scss'; | |
class App extends Component { | |
render() { | |
return ( | |
<React.Fragment> | |
<HeaderNav/> | |
<SideBar/> | |
<Home/> | |
</React.Fragment> | |
); | |
} | |
} | |
export default App; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import {VideoPreview} from '../../components/VideoPreview/VideoPreview'; | |
export class Home extends React.Component { | |
render() { | |
return ( | |
<VideoPreview/> | |
) | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import './VideoPreview.scss'; | |
export class VideoPreview extends React.Component { | |
render() { | |
return ( | |
<div>This is must a VideoPreview placeholder</div> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment