sdy

add Msg Components in ChatScreen.js

1 import React from "react"; 1 import React from "react";
2 import styled from "styled-components"; 2 import styled from "styled-components";
3 -import ChatListBox from "../SubMenuList/ChatListBox"; 3 +import IncomingMsg from "./IncomingMsg";
4 +import OutcomingMsg from "./OutcomingMsg";
4 5
5 const ChatScreen = styled.div``; 6 const ChatScreen = styled.div``;
6 7
7 export default () => { 8 export default () => {
8 return ( 9 return (
9 <ChatScreen> 10 <ChatScreen>
10 - <ChatListBox /> 11 + <IncomingMsg />
12 + <OutcomingMsg />
11 </ChatScreen> 13 </ChatScreen>
12 ); 14 );
13 }; 15 };
......