Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow QuickReplies component container styles to be customised #2270

Open
rajatkantinandi opened this issue Aug 22, 2022 · 2 comments · May be fixed by #2271
Open

Allow QuickReplies component container styles to be customised #2270

rajatkantinandi opened this issue Aug 22, 2022 · 2 comments · May be fixed by #2271

Comments

@rajatkantinandi
Copy link
Contributor

Issue Description

Currently QuickReplies component container styles are hard-coded here:

<View style={styles.container}>

So, it is impossible to customize it.

Some use cases are:

  • Rendering quick replies on the right side rather than left side by default.
  • Making the quick replies wider if needed (e.g. on web).
  • Making quick replies render vertically always rather than rendering in one row by default & wrapping.

Expected Results

QuickReplies component container should be customizable.

Additional Information

  • Nodejs version: 16.15.0
  • React version: 17.0.2
  • React Native version: 0.64.3
  • react-native-gifted-chat version: 1.0.4
  • Platform(s) (iOS, Android, or both?): both
  • TypeScript version: 4.7.2
rajatkantinandi added a commit to rajatkantinandi/react-native-gifted-chat that referenced this issue Aug 22, 2022
@arunpugahz
Copy link

Please merge this

@rajatkantinandi
Copy link
Contributor Author

Hi, I don't have merge permissions. Can you do it from your end? Thanks.
Screenshot 2024-02-05 at 2 02 03 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants