SubMenuBar.js
867 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import React from "react";
import Styled from "styled-components";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faPlusCircle } from "@fortawesome/free-solid-svg-icons";
import SearchBox from "./SearchBox";
import ChatListBox from "./ChatListBox";
const SubMenuBar = Styled.div`
height: 100%;
display:flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
padding: 20px 10px;
`;
const PlusIconBox = Styled.div`
width:100%;
display:flex;
justify-content:flex-end;
align-items:center;
font-size: 45px;
color: #98D79C;
`;
export default () => {
return (
<SubMenuBar>
<SearchBox />
<ChatListBox />
<ChatListBox />
<ChatListBox />
<PlusIconBox>
<FontAwesomeIcon icon={faPlusCircle} />
</PlusIconBox>
</SubMenuBar>
);
};