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

Make MessageTextContainer Customisable

Open vanGalilea opened this issue 3 years ago • 4 comments

Motivation MessageTextContainer is not customizable. Several customers are interested in customizing this particular component to achieve a specific look and feel, such as a gradient background. More info here

Proposed solution Default MessageTextContainer can be replaced with any other component specified from Channel/MessageList level via a prop.

Acceptance Criteria Default MessageTextContainer can be customized with a customer-specified component.

PS: Also check if this and this works after implementation.

vanGalilea avatar May 18 '22 19:05 vanGalilea

This is achievable using - https://stream-wiki.notion.site/Achieving-Linear-Gradient-in-Message-Bubble-b79afdb7409f4af5bcc47c09d0fd50f9

khushal87 avatar May 24 '22 05:05 khushal87

Yes, but the objective here is to be able to change the background color of message without altering any other functionality. In your example, we are simply rendering the text of message within custom component.

vishalnarkhede avatar May 24 '22 07:05 vishalnarkhede

Hey team! Please add your planning poker estimate with ZenHub @Enigma-I-am @khushal87 @madsroskar @santhoshvai @vishalnarkhede

vanGalilea avatar May 24 '22 08:05 vanGalilea

Let's add a guide to customize the message bubble with a gradient background

vanGalilea avatar May 24 '22 08:05 vanGalilea

This issue was moved to an internal backlog list of less urgent feature/docs requests.

vanGalilea avatar Oct 13 '22 13:10 vanGalilea