Showing
1 changed file
with
14 additions
and
0 deletions
front/src/Components/Header.js
0 → 100644
1 | +import React from "react"; | ||
2 | +import styled from "styled-components"; | ||
3 | + | ||
4 | +const HeaderContainer = styled.div``; | ||
5 | + | ||
6 | +const HeaderTitle = styled.span``; | ||
7 | + | ||
8 | +export default ({ text }) => { | ||
9 | + return ( | ||
10 | + <HeaderContainer> | ||
11 | + <HeaderTitle>{text}</HeaderTitle> | ||
12 | + </HeaderContainer> | ||
13 | + ); | ||
14 | +}; |
-
Please register or login to post a comment