Skip to content

Instantly share code, notes, and snippets.

@productioncoder productioncoder/App.js
Last active Oct 3, 2018

Embed
What would you like to do?
Home and VideoPreview component skeleton
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;
import React from 'react';
import {VideoPreview} from '../../components/VideoPreview/VideoPreview';
export class Home extends React.Component {
render() {
return (
<VideoPreview/>
)
}
}
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
You can’t perform that action at this time.