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-06 00:21:00 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7d99b9af819c6358066cdfb3d8e15ab0eebcb041
7d99b9af
1 parent
b4e8a183
create TextBox.js
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
0 deletions
front/src/Components/SubMenuList/TextBox.js
front/src/Components/SubMenuList/TextBox.js
0 → 100644
View file @
7d99b9a
import
React
from
"react"
;
import
styled
from
"styled-components"
;
const
TextBox
=
styled
.
div
`
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
padding: 0px 15px;
`
;
const
NickNameBox
=
styled
.
div
`
display: flex;
margin-bottom: 5px;
`
;
const
NickName
=
styled
.
span
`
opacity: 0.8;
`
;
const
MsgPreviewBox
=
styled
.
div
`
display: flex;
`
;
const
MsgPreview
=
styled
.
span
`
opacity: 0.5;
`
;
export
default
()
=>
{
return
(
<
TextBox
>
<
NickNameBox
>
<
NickName
>
NickName
<
/NickName
>
<
/NickNameBox
>
<
MsgPreviewBox
>
<
MsgPreview
>
MsgPreview
...
<
/MsgPreview
>
<
/MsgPreviewBox
>
<
/TextBox
>
);
};
Please
register
or
login
to post a comment