BotFramework-WebChat icon indicating copy to clipboard operation
BotFramework-WebChat copied to clipboard

Add ability to add custom send button component

Open owenpww opened this issue 4 years ago • 1 comments

Feature Request

Need ability to add a custom send button to replace the existing SVG being used. In fact adding custom components, not just for this send button, to the implementation would be very helpful altogether.

Is your feature request related to a problem? Please describe. Design specification requires a custom-made SVG be used for the send button but cannot use it

Describe the suggestion or request in detail Preferably a way to be able to pass custom components to ReactWebChat component which would replace the built-in ones that it uses. Specifically, in this case, a custom component for the send button though again it would be useful to have this for several other components.

Describe alternatives you have considered

  1. Adding the SVG element to the DOM directly (bad practice; not React-way of doing things)
  2. Adding the SVG by setting it as the background-image of the button (was not successful

[feature-request]

owenpww avatar Dec 21 '21 21:12 owenpww

I'm also interested in having the ability to natively switch out the SVG icon. Ideally, we would be able to configure it in the StyleOptions.

ohiobobcat avatar Aug 03 '22 19:08 ohiobobcat