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-14 22:34:46 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7b752b944acdf81444c8b4b8ed080f8bf75f3a1a
7b752b94
1 parent
206c8660
create OutcomingMsg.js
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
57 additions
and
0 deletions
front/src/Components/Main/OutcomingMsg.js
front/src/Components/Main/OutcomingMsg.js
0 → 100644
View file @
7b752b9
import
React
from
"react"
;
import
styled
from
"styled-components"
;
const
OutcomingBox
=
styled
.
div
`
display: flex;
justify-content: flex-end;
align-items: center;
padding: 20px 10px;
margin-top: 20px;
margin-right: 10px;
`
;
const
MsgContainer
=
styled
.
div
`
display: flex;
flex-direction: column;
`
;
const
MsgBox
=
styled
.
div
`
display: flex;
justify-content: center;
align-items: center;
background-color: #54a0ff;
color: white;
border-radius: 20px;
margin-bottom: 10px;
`
;
const
Msg
=
styled
.
span
`
font-size: 20px;
padding: 20px 10px;
`
;
const
TimeBox
=
styled
.
div
`
display: flex;
justify-content: flex-end;
align-items: center;
opacity: 0.8;
`
;
const
Time
=
styled
.
span
`
font-size: 15px;
`
;
export
default
()
=>
{
return
(
<
OutcomingBox
>
<
MsgContainer
>
<
MsgBox
>
<
Msg
/>
Outcoming
Message
<
/MsgBox
>
<
TimeBox
>
<
Time
/>
Monday
00
:
00
<
/TimeBox
>
<
/MsgContainer
>
<
/OutcomingBox
>
);
};
Please
register
or
login
to post a comment