remove MessageCard component

This commit is contained in:
frab1t 2019-05-08 16:25:56 +02:00
parent dcd3e88f67
commit 1ab7a41f77
1 changed files with 0 additions and 27 deletions

View File

@ -1,27 +0,0 @@
import React, { Component } from 'react';
import { Link } from 'react-router-dom';
import Card from '../components/Card';
class MessageCard extends Component {
constructor(props) {
super(props);
this.state = {};
}
render() {
return (
<div>
<Card
title={this.props.title}
message={this.props.message}
footer={<Link to="/">Go to home</Link>} />
</div>
);
}
}
export default MessageCard;