Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Triz_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sdy
2020-06-01 02:14:04 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3e16896a79b0a708213eabad06dd4ca1b4d861a7
3e16896a
1 parent
a27b80fc
update Message component
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
front/src/Components/Message.js
front/src/Components/Message.js
View file @
3e16896
...
...
@@ -42,15 +42,15 @@ const Time = styled.span`
font-size: 15px;
`
;
export
default
({
t
ime
,
t
ext
})
=>
{
export
default
({
text
})
=>
{
return
(
<
MessageWrapper
className
=
"MessageWrapper"
>
<
MsgContainer
>
<
MsgBox
>
<
Msg
>
{
text
}
Outcoming
Message
<
/Msg
>
<
Msg
>
{
text
}
<
/Msg
>
<
/MsgBox
>
<
TimeBox
>
<
Time
>
{
format
(
parse
(
time
,
"MM/DD/YYYY hh:mma"
))}
<
/Time
>
<
Time
><
/Time
>
<
/TimeBox
>
<
/MsgContainer
>
<
/MessageWrapper
>
...
...
Please
register
or
login
to post a comment