Showing
1 changed file
with
17 additions
and
0 deletions
front/src/Components/Image.js
0 → 100644
1 | +import React from "react"; | ||
2 | +import Styled from "styled-components"; | ||
3 | + | ||
4 | +const Image = Styled.div` | ||
5 | + width: 100%; | ||
6 | + margin: 20px 0px; | ||
7 | + display: flex; | ||
8 | + justify-content: center; | ||
9 | +`; | ||
10 | + | ||
11 | +export default () => { | ||
12 | + return ( | ||
13 | + <Image> | ||
14 | + <img src="" alt="sample"></img> | ||
15 | + </Image> | ||
16 | + ); | ||
17 | +}; |
-
Please register or login to post a comment