From 5deea5529a0647f42e259185b547b24effc9c15f Mon Sep 17 00:00:00 2001 From: vishtree Date: Tue, 21 Apr 2020 15:26:36 +0200 Subject: [PATCH] Fixing custom reaction functionality --- docs/cookbook.md | 6 ++++++ docs/images/6.png | Bin 0 -> 1976100 bytes docs/images/7.png | Bin 0 -> 195827 bytes docs/images/8.png | Bin 0 -> 1802148 bytes src/components/Message.js | 8 ++++++-- src/components/ReactionList.js | 6 ++++-- types/index.d.ts | 7 ++++++- 7 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 docs/images/6.png create mode 100644 docs/images/7.png create mode 100644 docs/images/8.png diff --git a/docs/cookbook.md b/docs/cookbook.md index 25aed7732f..4d4329f3e5 100644 --- a/docs/cookbook.md +++ b/docs/cookbook.md @@ -177,6 +177,8 @@ Here I am aiming for following styles: - Blue background - white colored text +IMAGE ALT TEXT HERE + ```js const MessageSimpleStyled = (props) => { const { isMyMessage, message } = props; @@ -214,6 +216,8 @@ const MessageSimpleStyled = (props) => { In this example I will support only two reactions - Monkey face (🐵) and Lion (🦁) +IMAGE ALT TEXT HERE + ```js const MessageSimpleWithCustomReactions = (props) => (