-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Add prop to customise to Text style of timestamps #942
Conversation
why this is not merged? |
Codecov Report
@@ Coverage Diff @@
## master #942 +/- ##
=======================================
Coverage 42.97% 42.97%
=======================================
Files 20 20
Lines 498 498
Branches 108 108
=======================================
Hits 214 214
Misses 214 214
Partials 70 70
Continue to review full report at Codecov.
|
I've fixed the linting and test snapshot issues. CI checks have passed :) |
thanks 👍 |
how to change left bubble timestamp position? |
@supunmadhuranga <GiftedChat
messages={this.state.messages}
onSend={this.onSend}
renderCustomView={CustomView}
keyboardShouldPersistTaps="never"
user={{ _id: 1 }}
renderBubble={props => {
return (
<Bubble
{...props}
timeTextStyle={{
right: { color: 'red' },
left: { color: 'blue' }
}}
/>
);
}}
parsePatterns={this.parsePatterns}
/> |
So about @supunmadhuranga 's question, how can you change the position of the time so that a bubble on the left side shows the time its right edge, and not the left edge? There's absolutely nothing in the docs about this, so thanks for any hints! |
Example:
Related to #672