stream-chat-react icon indicating copy to clipboard operation
stream-chat-react copied to clipboard

feat: allow to pass custom icon for message input send button

Open MartinCupela opened this issue 3 years ago • 0 comments

Motivation Add a new prop that would allow integrators to pass a component rendering the contents of the MessageInput's SendButton. At the moment it is necessary to replace the whole SendButton component. Keeping the SendButton component would allow to keep styling targeting the button and only its content would be changed. That would made the integration a bit more seamless.

Acceptance Criteria Possibility to pass a custom component rendering the SendButton contents through component context or MessageInput props.

MartinCupela avatar Sep 27 '22 14:09 MartinCupela