-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSidebar.js
44 lines (40 loc) · 1.52 KB
/
Sidebar.js
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
39
40
41
42
43
44
import React from 'react';
import "./Sidebar.css";
import ChatIcon from '@material-ui/icons/Chat';
import DonutLargeIcon from '@material-ui/icons/DonutLarge';
import {Avatar, IconButton} from "@material-ui/core";
import MoreVertIcon from '@material-ui/icons/MoreVert';
import {SearchOutlined} from "@material-ui/icons";
import SidebarChat from "./SidebarChat"
function Sidebar() {
return (
<div className = "sidebar">
<div className="sidebar__header">
<Avatar src="https://i.pinimg.com/originals/35/99/60/359960ac6610f21cbbdfa02947418ae6.jpg" />
<div className="sidebar__headerRight">
<IconButton>
<DonutLargeIcon />
</IconButton>
<IconButton>
<ChatIcon />
</IconButton>
<IconButton>
<MoreVertIcon />
</IconButton>
</div>
</div>
<div className="sidebar__search">
<div className="sidebar__searchContainer">
<SearchOutlined />
<input placeholder ="Search or start new chat" type="text" />
</div>
</div>
<div className="sidebar__searchChats">
<SidebarChat />
<SidebarChat />
<SidebarChat />
</div>
</div>
)
}
export default Sidebar;