react-native-gifted-chat
react-native-gifted-chat copied to clipboard
Requesting switch line code for quickReplyStyle and borderColor (L145, L146)
https://github.com/FaridSafi/react-native-gifted-chat/blob/081084a89c3a99c8b233823ccff9abe7e8d092c4/src/QuickReplies.tsx#L140-L150
As you can see above code, I cannot override the borderColor using the quickReplyStyle. The position to override the quick-reply style should be on the last position of the array. I would like to request if you can change the line position on the next PR/version.
I switch the position temp for now so I can change the borderColor of the quickreply buttons.
can u try this?
const renderQuickReply = props => {
return <QuickReply
{...props} color={yourColor}
/>
}
<GiftedChat renderQuickReplys={renderQuickReply}/>
can u try this?
const renderQuickReply = props => { return <QuickReply {...props} color={yourColor} /> } <GiftedChat renderQuickReplys={renderQuickReply}/>
yup it works also that way but I prefer under quickReplyStyle
, if the owner can change the position (like quickReplyTextStyle
which should be that way) in the next version so that it will be much simpler to use the quickReplyStyle