import React from 'react'

const ChatMessage = (props) => (
    <div style={{ background: "#eee", borderRadius: '5px', padding: '0 10px' }}>
        <p>
            <span><b>{props.sentAt}</b></span>
            <span><strong>{props.user}</strong> says:</span>
        </p>
        <p>{props.message}</p>
    </div>
)

export default ChatMessage