From b87f028602f83bfd0c4cb334e3fbe3d76a4853f3 Mon Sep 17 00:00:00 2001 From: Daniel Mejia Date: Thu, 25 Jun 2020 10:10:33 -0500 Subject: [PATCH] Refactor QuickReplies component to FC --- src/Bubble.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bubble.tsx b/src/Bubble.tsx index fbbcf64f0..055c96fe2 100644 --- a/src/Bubble.tsx +++ b/src/Bubble.tsx @@ -11,7 +11,7 @@ import { TextStyle, } from 'react-native' -import QuickReplies from './QuickReplies' +import { QuickReplies, QuickRepliesProps } from './QuickReplies' import { MessageText, MessageTextProps } from './MessageText' import { MessageImage, MessageImageProps } from './MessageImage' import { MessageVideo } from './MessageVideo' @@ -159,7 +159,7 @@ export interface BubbleProps { renderTicks?(currentMessage: TMessage): React.ReactNode renderUsername?(): React.ReactNode renderQuickReplySend?(): React.ReactNode - renderQuickReplies?(quickReplies: QuickReplies['props']): React.ReactNode + renderQuickReplies?(quickReplies: QuickRepliesProps): React.ReactNode } export default class Bubble<