@@ -143,6 +143,9 @@ import { MessageBox } from 'react-chat-elements'
143143| onTitleClick | none | function | message title on click event |
144144| onForwardClick | none | function | message forward on click event |
145145| onReplyClick | none | function | message reply on click event |
146+ | onMeetingMessageClick | none | function | meeting message on click event |
147+ | onMeetingTitleClick | none | function | meeting title message on click event |
148+ | onMeetingVideoLinkClick | none | function | meeting video link message on click event |
146149| onReplyMessageClick | none | function | reply message on click event |
147150| onContextMenu | none | function | message contextmenu click event |
148151| forwarded | none | boolean | message forward icon |
@@ -177,6 +180,66 @@ import { MessageBox } from 'react-chat-elements'
177180![ reply-message] ( https://user-images.githubusercontent.com/15075759/80224625-9dbbeb00-8652-11ea-994f-022be0cffe30.png )
178181
179182
183+ ## MeetingMessage Component
184+
185+ ``` javascript
186+ import { MeetingMessage } from ' react-chat-elements'
187+
188+ < MeetingMessage
189+ subject= {' New Release' }
190+ title= {' in ullamco' }
191+ date= {new Date ()}
192+ collapseTitle= {' Commodo aliquip' }
193+ participants= {[
194+ {
195+ id: ' 1' ,
196+ title: ' Facebook' ,
197+ },
198+ .
199+ .
200+ .
201+ ]}
202+ dataSource= {[
203+ {
204+ id: ' 1' ,
205+ avatar: ' https://facebook.github.io/react/img/logo.svg' ,
206+ message: ' Lorem ipsum dolor sit amet.' ,
207+ title: ' Elit magna' ,
208+ avatarFlexible: true ,
209+ date: new Date (),
210+ event : {[
211+ title: ' Toplantı sona erdi!' ,
212+ avatars= {[
213+ src: ' https://facebook.github.io/react/img/logo.svg'
214+ ]}
215+ ]}
216+ record: {[
217+ avatar: ' https://facebook.github.io/react/img/logo.svg' ,
218+ title: ' Arama' ,
219+ savedBy: ' Kaydeden: Elit magna' ,
220+ time: new Date (),
221+ ]}
222+ },
223+ .
224+ .
225+ .
226+ ]} / >
227+ ```
228+
229+ #### MeetingMessage props
230+
231+ | prop | default | type | description |
232+ | ---- | ---- | ---- | ---- |
233+ | subject | none | string | Meeting messagee |
234+ | title | none | string | Meeting title |
235+ | date | new Date() | Date | Meeting date |
236+ | collapseTitle | none | string | Meeting subtitle |
237+ | participants | [ ] | array | Meeting participant array |
238+ | dataSource | [ ] | array | meeting list array |
239+ | onMeetingMessageClick | none | function | meeting message on click event (message(object) is returned) |
240+ | onMeetingTitleClick | none | function | meeting title message on click event (message(object) is returned) |
241+ | onMeetingVideoLinkClick | none | function | meeting video link message on click event (message(object) is returned) |
242+
180243## SystemMessage Component
181244
182245``` javascript
@@ -569,7 +632,9 @@ import { MeetingItem } from 'react-chat-elements'
569632< MeetingItem
570633 subject= {' New Release!!!' }
571634 avatars= {[
572- src: ' https://facebook.github.io/react/img/logo.svg'
635+ {
636+ src: ' https://facebook.github.io/react/img/logo.svg'
637+ }
573638 ]}
574639 onMeetingClick= {console .log }
575640 onShareClick= {console .log }
0 commit comments