diff --git a/README.md b/README.md
index f8e64fe12..e49be9bf7 100644
--- a/README.md
+++ b/README.md
@@ -118,7 +118,8 @@ See [example/App.js](example/App.js)
- **`renderSend`** _(Function)_ - render the send button
- **`renderAccessory`** _(Function)_ - renders a second line of actions below the message composer
- **`bottomOffset`** _(Integer)_ - distance of the chat from the bottom of the screen, useful if you display a tab bar
-
+- **`onAvatarPress`** _(Function)_ - Called when Avatar is pressed
+- **`onLongPress`** _(Function)_ - Called when message bubble is Long Pressed
## Features
- Custom components
diff --git a/src/Avatar.js b/src/Avatar.js
index 85c4a459d..ec4bb3709 100644
--- a/src/Avatar.js
+++ b/src/Avatar.js
@@ -16,7 +16,7 @@ export default class Avatar extends React.Component {
return (
);
}
@@ -27,6 +27,7 @@ export default class Avatar extends React.Component {
);
diff --git a/src/Bubble.js b/src/Bubble.js
index e50de91ff..4c8af5d66 100644
--- a/src/Bubble.js
+++ b/src/Bubble.js
@@ -72,7 +72,7 @@ export default class Bubble extends React.Component {
onLongPress() {
if (this.props.onLongPress) {
- this.props.onLongPress(this.context);
+ this.props.onLongPress(this.props.currentMessage, this.context);
} else {
if (this.props.currentMessage.text) {
const options = [