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
<Input placeholder="Type here..." multiline={true} onChange={(e) => handleInput(e.target.value)} value={messageContent} // onSubmit={() => handleMessageSubmit()} // onReset={() => handleMessageSubmit()} clear={(clear) => (inputClear ? clear() : "")} rightButtons={ <Button variant="contained" color="success" onClick={() => handleMessageSubmit()} > Send } />
The text was updated successfully, but these errors were encountered:
i am trying to find an example of input clear after message is send because it doesn't clear automatically
Sorry, something went wrong.
No branches or pull requests
<Input
placeholder="Type here..."
multiline={true}
onChange={(e) => handleInput(e.target.value)}
value={messageContent}
// onSubmit={() => handleMessageSubmit()}
// onReset={() => handleMessageSubmit()}
clear={(clear) => (inputClear ? clear() : "")}
rightButtons={
<Button
variant="contained"
color="success"
onClick={() => handleMessageSubmit()}
>
Send
}
/>
The text was updated successfully, but these errors were encountered: