xatkit-bot-platform / xatkit-chat-widget

(React) Chat widget for Xatkit
https://xatkit.com
MIT License
5 stars 2 forks source link

Alternative logo as a parameter in the render function? #48

Closed jcabot closed 4 years ago

jcabot commented 4 years ago

Or what is a user-friendly way to let the user provide its own logo?

hamzaed commented 4 years ago

The use can provide his own avatar (logo) by adding it as a parameter in the render function. Here is the signature of the function: renderXatkitWidget(server, username, elementId,title, subtitle, startMinimized, senderPlaceholder, profileAvatar, launcherImage, buttonsPlaceholder, hostname, url, origin)

We need to update the description of the function in the README. I'll open an issue for that.