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

fix: nested text styling not inheriting from parent #4356

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

rayan1810
Copy link

This addresses the issue #4351 by adding a React Context with Text Component and checks + reads the parent Text's context to get it's style and merges it with the current Text's style, just like how React Native behaves.

Related issue

#4351

Test plan

Testing is pending, the PR is still a Work in progress!

@callstack-bot
Copy link

callstack-bot commented Mar 23, 2024

Hey @rayan1810, thank you for your pull request 🤗. The documentation from this branch can be viewed here.

@rayan1810 rayan1810 changed the title WIP: Fix nested text styling not inheriting from parent Fix nested text styling not inheriting from parent Jul 13, 2024
@rayan1810
Copy link
Author

Ready for Review ✅

@rayan1810 rayan1810 changed the title Fix nested text styling not inheriting from parent fix: nested text styling not inheriting from parent Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants