We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello How can I make send button with icon?
There is pull request #487 that resolve my problem, but its not merged yet :(
The text was updated successfully, but these errors were encountered:
You can define a renderSend method and set it in the GiftedChat component as shown below
renderSend
GiftedChat
renderSend = (sendProps) => { if (sendProps.text.trim().length > 0) { return ( <TouchableOpacity> <Image source={require('../../img/ic_send.png')} /> </TouchableOpacity> ); } return null; } <GiftedChat renderSend={this.renderSend} />
This is just to give you an idea on how to set a custom icon for the send. You will probably need to add some styling and an onPress handler.
onPress
Sorry, something went wrong.
@lossen you can do this now via #487 :)
No branches or pull requests
Hello
How can I make send button with icon?
There is pull request #487 that resolve my problem, but its not merged yet :(
The text was updated successfully, but these errors were encountered: