Skip to content

Commit

Permalink
onClick events added
Browse files Browse the repository at this point in the history
  • Loading branch information
abdurrahmanekr committed Aug 19, 2020
1 parent b27c218 commit b406d0d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-chat-elements",
"version": "10.10.0",
"version": "10.10.1",
"description": "Reactjs chat components",
"author": "Avare Kodcu <[email protected]>",
"main": "dist/main.js",
Expand Down
6 changes: 3 additions & 3 deletions src/ChatList/ChatList.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ export class ChatList extends Component {
key={i}
lazyLoadingImage={this.props.lazyLoadingImage}
{...x}
onAvatarError={(e) => this.onAvatarError(x,i,e)}
onContextMenu={(e) => this.onContextMenu(x,i,e)}
onClick={() => this.onClick(x, i)}/>
onAvatarError={(e) => this.onAvatarError(x, i, e)}
onContextMenu={(e) => this.onContextMenu(x, i, e)}
onClick={() => this.onClick(x, i, e)}/>
))
}
</div>
Expand Down
10 changes: 5 additions & 5 deletions src/MeetingList/MeetingList.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ export class MeetingList extends Component {
key={i}
lazyLoadingImage={this.props.lazyLoadingImage}
{...x}
onAvatarError={(e) => this.onAvatarError(x,i,e)}
onContextMenu={(e) => this.onContextMenu(x,i,e)}
onClick={() => this.onClick(x, i)}
onMeetingClick={() => this.onMeetingClick(x, i)}
onShareClick={() => this.onShareClick(x, i)}/>
onAvatarError={(e) => this.onAvatarError(x, i, e)}
onContextMenu={(e) => this.onContextMenu(x, i, e)}
onClick={() => this.onClick(x, i, e)}
onMeetingClick={() => this.onMeetingClick(x, i, e)}
onShareClick={() => this.onShareClick(x, i, e)}/>
))
}
</div>
Expand Down

0 comments on commit b406d0d

Please sign in to comment.