Issue Description
I want to change the color of the send button. I tried doing something similar to #640 (changing wrapperStyle -> style is also no solution) as that worked for me to change the color of the chat-bubble, but the color of the send button still remains the default blue one. What is going wrong here?
code snippet
renderSend(props) {
return (
<Send
{...props}
wrapperStyle={{
text: {
color: commonColor.brandPrimary
}
}}>
</Send>
);
}
Expected result
A send button with a specified color
You should pass textStyle Object as a prop and not text. There you have your color: 'specific color'.
Its's not working for me
<Send
{...props}
wrapperStyle={{
textStyle: {
color: 'red'
}
}}
>
</Send>
Its's not working for me
<Send {...props} wrapperStyle={{ textStyle: { color: 'red' } }} > </Send>
I figured it out by checking the source.
<Send {...props} textStyle={{ color: constants.primaryColor }} label={'Send'} />
Most helpful comment
You should pass textStyle Object as a prop and not text. There you have your color: 'specific color'.