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-05-18 11:52:55 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
24d6131599fd2a2368efc4361759e2464e2332f7
24d61315
1 parent
9b36192b
add props
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
front/src/Components/IncomingMsg.js
front/src/Components/OutcomingMsg.js
front/src/Components/IncomingMsg.js
View file @
24d6131
...
...
@@ -43,16 +43,16 @@ const Time = styled.span`
font-size: 15px;
`
;
export
default
()
=>
{
export
default
(
{
time
,
message
}
)
=>
{
return
(
<
IncomingBox
>
<
ImgIconBox
/>
<
MsgContainer
>
<
MsgBox
>
<
Msg
/>
Incoming
Message
<
Msg
/>
{
message
}
Incoming
Message
<
/MsgBox
>
<
TimeBox
>
<
Time
/>
Monday
00
:
00
<
Time
/>
{
time
}
Monday
00
:
00
<
/TimeBox
>
<
/MsgContainer
>
<
/IncomingBox
>
...
...
front/src/Components/OutcomingMsg.js
View file @
24d6131
...
...
@@ -41,15 +41,15 @@ const Time = styled.span`
font-size: 15px;
`
;
export
default
()
=>
{
export
default
(
{
time
,
message
}
)
=>
{
return
(
<
OutcomingBox
>
<
MsgContainer
>
<
MsgBox
>
<
Msg
/>
Outcoming
Message
<
Msg
/>
{
message
}
Outcoming
Message
<
/MsgBox
>
<
TimeBox
>
<
Time
/>
Monday
00
:
00
<
Time
/>
{
time
}
Monday
00
:
00
<
/TimeBox
>
<
/MsgContainer
>
<
/OutcomingBox
>
...
...
Please
register
or
login
to post a comment