mattmezza / vue-beautiful-chat

A simple and beautiful Vue chat component backend agnostic, fully customisable and extendable.
https://matteo.merola.co/vue-beautiful-chat/
MIT License
1.5k stars 441 forks source link

Allow custom icons override for both chat window and file upload. Add preview url support for non-image file types #242

Closed kzhang-dsg closed 3 years ago

kzhang-dsg commented 3 years ago

Current implementation does not allow user to override the icons for file upload. This pull request addresses that issue.

Current implementation shows a broken image if the uploaded file is not a image file. Added support to provide an optional previewUrl to show a custom preview image for non-image files.

kzhang-dsg commented 3 years ago

Need to clean up some changes first. Closing.