@@ -4,6 +4,9 @@ import './MeetingMessage.css';
44import FaCalendar from 'react-icons/lib/fa/calendar' ;
55import MdMoreHoriz from 'react-icons/lib/md/more-horiz' ;
66import FaCaretDown from 'react-icons/lib/fa/caret-down' ;
7+ import FaCaretRight from 'react-icons/lib/fa/caret-right' ;
8+ import IoVideo from 'react-icons/lib/io/ios-videocam-outline' ;
9+ import IoChatboxes from 'react-icons/lib/io/ios-chatboxes-outline' ;
710
811import {
912 format ,
@@ -35,7 +38,7 @@ export class MeetingMessage extends Component {
3538 title,
3639 subject,
3740 onClick,
38- altTitle ,
41+ collapseTitle ,
3942 dataSource,
4043 participants,
4144 onMeetingTitleClick,
@@ -78,10 +81,11 @@ export class MeetingMessage extends Component {
7881 this . state . toogle === true ?
7982 < div className = "rce-mtmg-bottom--tptitle" >
8083 < FaCaretDown />
81- < span > { altTitle } </ span >
84+ < span > { collapseTitle } </ span >
8285 </ div >
8386 :
8487 < div className = "rce-mtmg-body-bottom--bttitle" >
88+ < FaCaretRight />
8589 < span >
8690 {
8791 participants . slice ( 0 , PARTICIPANT_LIMIT ) . map ( x => x . title || 'Unknow' ) . join ( ', ' )
@@ -107,6 +111,17 @@ export class MeetingMessage extends Component {
107111 {
108112 ! x . event &&
109113 < div className = "rce-mitem" >
114+ < div
115+ className = { classNames (
116+ 'rce-mitem avatar' ,
117+ { 'rce-mitem no-avatar' : ! x . avatar }
118+ ) } >
119+ {
120+ x . avatar ?
121+ < Avatar src = { x . avatar } />
122+ : < IoChatboxes />
123+ }
124+ </ div >
110125 < div className = "rce-mitem-body" >
111126 < div className = "rce-mitem-body--top" >
112127 < div
@@ -136,6 +151,9 @@ export class MeetingMessage extends Component {
136151 x . event &&
137152 < div className = "rce-mitem-event" >
138153 < div className = "rce-mitem-bottom-body" >
154+ < div className = "rce-mitem-body avatar" >
155+ < IoVideo />
156+ </ div >
139157 < div className = "rce-mitem-bottom-body-top" >
140158 { x . event . title }
141159 < div className = "rce-mitem-body--top-time" >
@@ -201,7 +219,7 @@ MeetingMessage.defaultProps = {
201219 dateString : '' ,
202220 title : '' ,
203221 subject : '' ,
204- altTitle : '' ,
222+ collapseTitle : '' ,
205223 participantsLimit : 3 ,
206224 avatarFlexible : false ,
207225 dataSource : [ ] ,
0 commit comments