Style variable name conflicting in Send and MessageText
See original GitHub issueIssue Description
Conflict over the property: TextStyle
as it modify both the text within the Bubble and the Text within the Send button.
Steps to Reproduce / Code Snippets
Pass the property TextStyle
to GiftedChat. If it is passed so as to validate the properties of MessageText
(i.e.: With a left
and right
), the Send button won’t be correctly displayed. On the other case, TextStyle
is passed so as to modify the style of the Send button, it won’t validate and MessageText
and ReactNative will throw an error.
Expected Results
Have two different style name for MessageText and Send so as to not have a conflict and be able to modify them independently.
Additional Information
- React Native version: 0.34.1
- react-native-gifted-chat version: 0.0.10
- Platform(s) (iOS, Android, or both?): both
Issue Analytics
- State:
- Created 7 years ago
- Comments:5
Top Results From Across the Web
ios - Variable name conflicts with function name leads to ...
will make the error go away but I am trying to understand why there is a conflict between variable name and method name...
Read more >ISPF messages starting with ISP - IBM
Invalid variable name - aaaaaaaa is not a valid variable name for both ISPF and APL2. ... There is a name conflict with...
Read more >Database Engine events and errors - SQL Server
Variable names must be unique within a query batch or stored procedure. ... Out of memory sending message for database "%.*ls".
Read more >Groovy Goodness: Solve Naming Conflicts with Builders
To solve this naming conflict we can change the name of our local variable or method. But this is not always possible or...
Read more >Global variables and namespace - Google Groups
I have been seeing that other libraries use a global namespace and then all the functionality is attached to this global name (e.g.,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jeromegrosse I would suggest you pass
renderSend
and render theSend
component with the props you need.This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.