Skip to content

Commit b406d0d

Browse files
onClick events added
1 parent b27c218 commit b406d0d

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-chat-elements",
3-
"version": "10.10.0",
3+
"version": "10.10.1",
44
"description": "Reactjs chat components",
55
"author": "Avare Kodcu <[email protected]>",
66
"main": "dist/main.js",

src/ChatList/ChatList.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ export class ChatList extends Component {
3535
key={i}
3636
lazyLoadingImage={this.props.lazyLoadingImage}
3737
{...x}
38-
onAvatarError={(e) => this.onAvatarError(x,i,e)}
39-
onContextMenu={(e) => this.onContextMenu(x,i,e)}
40-
onClick={() => this.onClick(x, i)}/>
38+
onAvatarError={(e) => this.onAvatarError(x, i, e)}
39+
onContextMenu={(e) => this.onContextMenu(x, i, e)}
40+
onClick={() => this.onClick(x, i, e)}/>
4141
))
4242
}
4343
</div>

src/MeetingList/MeetingList.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ export class MeetingList extends Component {
4545
key={i}
4646
lazyLoadingImage={this.props.lazyLoadingImage}
4747
{...x}
48-
onAvatarError={(e) => this.onAvatarError(x,i,e)}
49-
onContextMenu={(e) => this.onContextMenu(x,i,e)}
50-
onClick={() => this.onClick(x, i)}
51-
onMeetingClick={() => this.onMeetingClick(x, i)}
52-
onShareClick={() => this.onShareClick(x, i)}/>
48+
onAvatarError={(e) => this.onAvatarError(x, i, e)}
49+
onContextMenu={(e) => this.onContextMenu(x, i, e)}
50+
onClick={() => this.onClick(x, i, e)}
51+
onMeetingClick={() => this.onMeetingClick(x, i, e)}
52+
onShareClick={() => this.onShareClick(x, i, e)}/>
5353
))
5454
}
5555
</div>

0 commit comments

Comments
 (0)