react-native-paper
react-native-paper copied to clipboard
fix: nested text styling not inheriting from parent
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!
Hey @rayan1810, thank you for your pull request 🤗. The documentation from this branch can be viewed here.
Ready for Review ✅