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-24 20:17:25 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
41809068eac3e949d8ad434c8afc4f4286c61085
41809068
1 parent
1bb78ef2
rename message prop to text prop
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
front/src/Components/IncomingMsg.js
front/src/Components/OutcomingMsg.js
front/src/Components/IncomingMsg.js
View file @
4180906
...
...
@@ -43,13 +43,13 @@ const Time = styled.span`
font-size: 15px;
`
;
export
default
({
time
,
message
})
=>
{
export
default
({
time
,
text
})
=>
{
return
(
<
IncomingBox
>
<
ImgIconBox
/>
<
MsgContainer
>
<
MsgBox
>
<
Msg
/>
{
message
}
Incoming
Message
<
Msg
/>
{
text
}
Incoming
Message
<
/MsgBox
>
<
TimeBox
>
<
Time
/>
{
time
}
Monday
00
:
00
...
...
front/src/Components/OutcomingMsg.js
View file @
4180906
...
...
@@ -41,12 +41,12 @@ const Time = styled.span`
font-size: 15px;
`
;
export
default
({
time
,
message
})
=>
{
export
default
({
time
,
text
})
=>
{
return
(
<
OutcomingBox
>
<
MsgContainer
>
<
MsgBox
>
<
Msg
/>
{
message
}
Outcoming
Message
<
Msg
/>
{
text
}
Outcoming
Message
<
/MsgBox
>
<
TimeBox
>
<
Time
/>
{
time
}
Monday
00
:
00
...
...
Please
register
or
login
to post a comment