2018-05-22 19:31:43 +00:00
|
|
|
// tslint:disable:newline-before-return
|
|
|
|
|
2018-04-03 22:56:12 +00:00
|
|
|
import React from 'react';
|
|
|
|
|
|
|
|
/**
|
2018-04-05 16:19:00 +00:00
|
|
|
* A placeholder Message component for now, giving the structure of a plain message with
|
|
|
|
* none of the dynamic functionality. This page will be used to build up our corpus of
|
2018-04-06 21:51:52 +00:00
|
|
|
* permutations before we start moving all message functionality to React.
|
2018-04-03 22:56:12 +00:00
|
|
|
*/
|
2018-05-22 19:31:43 +00:00
|
|
|
export class Message extends React.Component {
|
2018-04-03 22:56:12 +00:00
|
|
|
public render() {
|
|
|
|
return (
|
|
|
|
<li className="entry outgoing sent delivered">
|
|
|
|
<span className="avatar" />
|
|
|
|
<div className="bubble">
|
|
|
|
<div className="sender" dir="auto" />
|
2018-04-14 00:34:53 +00:00
|
|
|
<div className="tail-wrapper with-tail">
|
|
|
|
<div className="inner-bubble">
|
|
|
|
<p className="content" dir="auto">
|
|
|
|
<span className="body">
|
|
|
|
Hi there. How are you doing? Feeling pretty good? Awesome.
|
|
|
|
</span>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-04-03 22:56:12 +00:00
|
|
|
<div className="meta">
|
|
|
|
<span
|
|
|
|
className="timestamp"
|
|
|
|
data-timestamp="1522800995425"
|
|
|
|
title="Tue, Apr 3, 2018 5:16 PM"
|
|
|
|
>
|
|
|
|
1 minute ago
|
|
|
|
</span>
|
|
|
|
<span className="status hide" />
|
|
|
|
<span className="timer" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|