File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -656,6 +656,8 @@ import { MeetingItem } from 'react-chat-elements'
656656| onCloseClick | none | function | MeetingItem on close click |
657657| avatars | none | date | MeetingItem avatars |
658658| avatarLimit | 5 | date | MeetingItem avatars limit |
659+ | audioMuted| true | boolean | MeetingItem audio muted |
660+ | audioSource| null | string | MeetingItem audio source |
659661
660662
661663## MeetingList Component
Original file line number Diff line number Diff line change 11{
22 "name" : " react-chat-elements" ,
3- "version" : " 10.11.0 " ,
3+ "version" : " 10.11.1 " ,
44 "description" : " Reactjs chat components" ,
55 "author" : " Avare Kodcu <abdurrahmaneker58@gmail.com>" ,
66 "main" : " dist/main.js" ,
Original file line number Diff line number Diff line change @@ -31,6 +31,13 @@ export class MeetingItem extends Component {
3131 className = { classNames ( 'rce-container-mtitem' , this . props . className ) }
3232 onClick = { this . props . onClick }
3333 onContextMenu = { this . props . onContextMenu } >
34+
35+ < audio
36+ autoPlay
37+ loop
38+ muted = { this . props . audioMuted }
39+ src = { this . props . audioSource } />
40+
3441 < div className = "rce-mtitem" >
3542 < div className = "rce-mtitem-top" >
3643 < div className = "rce-mtitem-subject" >
@@ -121,6 +128,8 @@ MeetingItem.defaultProps = {
121128 lazyLoadingImage : undefined ,
122129 avatarLimit : 5 ,
123130 avatars : [ ] ,
131+ audioMuted : true ,
132+ audioSource : null ,
124133 onAvatarError : ( ) => void ( 0 ) ,
125134 onMeetingClick : ( ) => void ( 0 ) ,
126135 onShareClick : ( ) => void ( 0 ) ,
You can’t perform that action at this time.
0 commit comments