You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Motivation
I want to customize the getBorderRadius function in the MessageContent component.
My basic need is that I want to give different border styling according to the messageGroupTypes (top, middle, bottom), but I couldn't do it in the existing structure or I couldn't find an example for it in the documentation.
What I want to do:
Message 1: top
Message 2: middle
Message 3: bottom
Proposed solution
We can add this function to the channel component to get this function from outside or we can add styles according to groupTypes in the theme file.
The text was updated successfully, but these errors were encountered:
Motivation
I want to customize the getBorderRadius function in the MessageContent component.
My basic need is that I want to give different border styling according to the messageGroupTypes (top, middle, bottom), but I couldn't do it in the existing structure or I couldn't find an example for it in the documentation.
What I want to do:
Message 1: top
Message 2: middle
Message 3: bottom
top: borderTopLeftRadius: 8, borderTopRightRadius: 8, borderBottomLeftRadius: 8, borderBottomRightRadius: 2
middle: borderTopLeftRadius: 8, borderTopRightRadius: 2, borderBottomLeftRadius: 8, borderBottomRightRadius: 2
bottom: borderTopLeftRadius: 8, borderTopRightRadius: 2, borderBottomLeftRadius: 8, borderBottomRightRadius: 8
Proposed solution
We can add this function to the channel component to get this function from outside or we can add styles according to groupTypes in the theme file.
The text was updated successfully, but these errors were encountered: