From 934d8896bd2b29f9f7c765ba9ae9ff0bac7a6a5e Mon Sep 17 00:00:00 2001 From: Rob Graeber <2387719+robgraeber@users.noreply.github.com> Date: Tue, 20 Jun 2023 23:15:39 -0700 Subject: [PATCH] Expose quickReplyContainerStyle --- src/QuickReplies.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/QuickReplies.tsx b/src/QuickReplies.tsx index af90da2ae..0e015bd9c 100644 --- a/src/QuickReplies.tsx +++ b/src/QuickReplies.tsx @@ -52,6 +52,7 @@ export interface QuickRepliesProps { sendText?: string quickReplyStyle?: StyleProp quickReplyTextStyle?: StyleProp + quickReplyContainerStyle?: StyleProp onQuickReply?(reply: Reply[]): void renderQuickReplySend?(): React.ReactNode } @@ -68,6 +69,7 @@ export function QuickReplies({ color = Color.peterRiver, quickReplyStyle, quickReplyTextStyle, + quickReplyContainerStyle, onQuickReply, sendText = 'Send', renderQuickReplySend, @@ -132,7 +134,7 @@ export function QuickReplies({ } return ( - + {currentMessage!.quickReplies!.values.map( (reply: Reply, index: number) => { const selected = type === 'checkbox' && replies.find(sameReply(reply)) @@ -184,4 +186,5 @@ QuickReplies.propTypes = { sendText: PropTypes.string, renderQuickReplySend: PropTypes.func, quickReplyStyle: StylePropType, + quickReplyContainerStyle: StylePropType, }