From a667e78ba04668dc04ec22778aa3c6bece846fcf Mon Sep 17 00:00:00 2001 From: Dylan <48745406+dylandbl@users.noreply.github.com> Date: Wed, 27 Jul 2022 09:42:45 -0600 Subject: [PATCH] docs: fixed outdated `onClickEmoji` --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5f9a2e4..3d8ace9 100644 --- a/README.md +++ b/README.md @@ -37,11 +37,11 @@ const App = () => { content: "😂", } ]} - onClickEmoji={(emoji) => { - window.alert(emoji.content); - }} isVisible={isVisible} onClose={() => setIsVisible(false)} + onClickReaction={(reaction) => { + window.alert(reaction.content); + }} trigger={