Display Component

The Display component will be the dashboard for viewing all the uploaded videos on your app.

Step 1

Create a Display.js file in the components folder.

touch Display.js

Step 2

Add code to the Display.js file so that it looks like this:

import React, { Component } from 'react';
import { Link } from 'react-router';
import Nav from './Nav';
import { isLoggedIn } from '../utils/AuthService';
import axios from 'axios';

class Display extends Component {

  render() {

    return (
      <div>
        <Nav />
        <h3 className="text-center"> Latest Videos on Miniflix </h3>
        <hr/>

        <div className="col-sm-12">

        </div>
      </div>
    );
  }
}

export default Display;

Last updated