How can I Hide Default Send Button ?
Issue Description
Greetings, I was looking for some property of the component to see if it is possible to hide the default Send button if, for example, I have the following scenario, I created a custom button with the renderSend and ok it works if I put the conditional that if there is no text in the props (props.text.trim()>3 then it doesn't show me the button and it works for the custom button, but it doesn't work for the default button which is (Send) is there any prop or way to hide or disable this default button ), thank you, I remain attentive to your contributions
Steps to Reproduce / Code Snippets
Function renderSend: //Custom el bottom send const customBottomSend = (props: any) => { if (props.text.length >= 3) { return ( <Send {...props} containerStyle={{justifyContent: 'center', right: 2}}> <View> <Icon type={Icons.MaterialCommunityIcons} name="send-circle" size={30} color={Colors.primary} /> </View> </Send> ); } };
https://github.com/FaridSafi/react-native-gifted-chat/assets/66761042/13f9341f-f224-4bfd-916d-0912e8d78740
[FILL THIS OUT]
Expected Results
[FILL THIS OUT]
Additional Information
- Nodejs version: [18.12.1]
- React version: [18.1.0]
- React Native version: [0.70.6]
- react-native-gifted-chat version: [2.4.0]
- Platform(s) (iOS, Android, or both?): [Android]
- TypeScript version: [4.8.3]
provide else {}