react-chat-widget
react-chat-widget copied to clipboard
Need input onChange function
Please I need this function [onChange] in [input] to be handle in my project, I download the project and try to modify it with my project it takes a lot and a lot of change
so, please help me...
Please I need this function [onChange] in [input] to be handle in my project, I download the project and try to modify it with my project it takes a lot and a lot of change
so, please help me...
Now they have a widget property called handleTextInputChange, just use it on your <Widget ... />
<Widget
title={title}
senderPlaceHolder={'Type a message...'}
handleNewUserMessage={onClientMessage}
handleTextInputChange={console.log}
/>
will be called on every change on client input