sdy

add props

......@@ -43,16 +43,16 @@ const Time = styled.span`
font-size: 15px;
`;
export default () => {
export default ({ time, message }) => {
return (
<IncomingBox>
<ImgIconBox />
<MsgContainer>
<MsgBox>
<Msg /> Incoming Message
<Msg /> {message} Incoming Message
</MsgBox>
<TimeBox>
<Time /> Monday 00:00
<Time /> {time} Monday 00:00
</TimeBox>
</MsgContainer>
</IncomingBox>
......
......@@ -41,15 +41,15 @@ const Time = styled.span`
font-size: 15px;
`;
export default () => {
export default ({ time, message }) => {
return (
<OutcomingBox>
<MsgContainer>
<MsgBox>
<Msg /> Outcoming Message
<Msg /> {message} Outcoming Message
</MsgBox>
<TimeBox>
<Time /> Monday 00:00
<Time /> {time} Monday 00:00
</TimeBox>
</MsgContainer>
</OutcomingBox>
......