A react rtf text editor component that emulates WhatsApp text editor and output rtf on its own format (_cursive_ *bold* ~strikethrought~ ```monospace```)
npm install react-whatsapp-text-editorRun ``npm install react-whatsapp-editor`
`jsx
import react from "React"
import TextEditor from "react-whatsapp-editor"
...
onText={(rftText, formattedText)=> { ... } }
onDelete={ ()=> { ... }}
emojiTitle="title"
>
``
| Prop |Type| Description |
|------|----|-------------|
|open|bool|Set editor state open or closed|
|emojiTitle|string|Set emoji-mart title|
|onText|function([string], string)|Function called on each text change. It gets two arguments, noFormated text, that is rtf text being display on screen, and formatedText that's the same text but on WhatsApp rtf format|
|onDelete|function|This function is called each time that delete button is pressed. It gets no arguments|