Mixonomer/src/js/Playlist/PlaylistView.js

21 lines
438 B
JavaScript
Raw Normal View History

import React, { Component } from "react";
import { BrowserRouter as Router, Route, Link } from "react-router-dom";
const axios = require('axios');
class PlaylistView extends Component{
constructor(props){
super(props);
console.log(this.props);
this.state = {
name: this.props.match.name
}
}
render(){
return <p>{this.state.name}</p>;
}
}
export default PlaylistView