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-04-24 00:59:43 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7bf4f626e51f6a3eb370f47ad8a94cbbfa495c41
7bf4f626
1 parent
a9fc789c
create Image Component
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
front/src/Components/Image.js
front/src/Components/Image.js
0 → 100644
View file @
7bf4f62
import
React
from
"react"
;
import
Styled
from
"styled-components"
;
const
Image
=
Styled
.
div
`
width: 100%;
margin: 20px 0px;
display: flex;
justify-content: center;
`
;
export
default
()
=>
{
return
(
<
Image
>
<
img
src
=
""
alt
=
"sample"
><
/img
>
<
/Image
>
);
};
Please
register
or
login
to post a comment