sdy

create TitleBox.js

1 +import React from "react";
2 +import styled from "styled-components";
3 +
4 +const TitleBox = styled.div`
5 + display: flex;
6 + flex-direction: column;
7 + font-size: 30px;
8 + color: white;
9 +`;
10 +
11 +const Title = styled.span``;
12 +
13 +export default () => {
14 + return (
15 + <TitleBox>
16 + <Title>KhuChat</Title>
17 + </TitleBox>
18 + );
19 +};