We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ec76468 + f200e5c commit 5fa9f29Copy full SHA for 5fa9f29
docusaurus/docs/reactnative/guides/message_actions_customization.mdx
@@ -97,7 +97,8 @@ Following example demonstrates how to introduce a new/custom message action:
97
98
```jsx
99
<Channel
100
- messageActions={() => ([
+ channel={channel}
101
+ messageActions={({ dismissOverlay }) => ([
102
{
103
action: () => {
104
channel.sendMessage({text: '👉'});
@@ -106,7 +107,7 @@ Following example demonstrates how to introduce a new/custom message action:
106
107
icon: <PokeUserSVGIcon />,
108
title: "Poke User",
109
}
- )]}
110
+ ])}
111
>
112
{/** MessageList and MessageInput component here */}
113
</Channel>
0 commit comments