sdy

create Article.js

1 +import React from "react";
2 +import Styled from "styled-components";
3 +
4 +const Article = Styled.div`
5 + width: 70%;
6 + justify-content: center;
7 + align-items: center;
8 + text-align: center;
9 + margin-top: 10px;
10 + border-top: 1px solid black;
11 +`;
12 +
13 +export default () => {
14 + return (
15 + <Article>
16 + <h1>Article Title</h1>
17 + </Article>
18 + );
19 +};