Skip to content

New feature: File upload#24

Open
ergisgjergji wants to merge 24 commits intoleon0707:masterfrom
ergisgjergji:master
Open

New feature: File upload#24
ergisgjergji wants to merge 24 commits intoleon0707:masterfrom
ergisgjergji:master

Conversation

@ergisgjergji
Copy link

@ergisgjergji ergisgjergji commented Jun 23, 2021

  • Added the ability to be able to select file(s) aside text. Now, the signature of onSendMessage(message) is onSendMessage(message, files = []).
  • Added a prop for message button's click handling: onMessageButtonClick
  • Removed onSendKey as obsolette. The default behaviour now is: enter to send message / shift+enter inserts a new line in the textArea

To view the full details, I have published my fork in npm, under: @ergisgjergji/react-chat-plugin (I am personally using it in production).
You can view the updated screenshot, the changelog, examples and the props table.

@ergisgjergji ergisgjergji changed the title Feature: File select New feature: File upload Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant