import React from "react";

const Message = ({text}) => (
    <div>{text}</div>
);

Message.propTypes = {
    text: React.PropTypes.number.isRequired
};

export default Message;
