From bc2e876c592d5b3c117108baf5a5a58905510eae Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 21 Jun 2018 14:59:56 +0300 Subject: Add PM components --- vnext/src/components/Contact.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 vnext/src/components/Contact.js (limited to 'vnext/src/components/Contact.js') diff --git a/vnext/src/components/Contact.js b/vnext/src/components/Contact.js new file mode 100644 index 00000000..0e969cc1 --- /dev/null +++ b/vnext/src/components/Contact.js @@ -0,0 +1,16 @@ +import React from 'react'; + +import Avatar from './Avatar'; + +export default class Contact extends React.Component { + + render() { + const { user } = this.props; + return ( + + + {user.uname }{ user.unreadCount && {user.unreadCount}} + + ); + } +} -- cgit v1.2.3