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

Expose React Native <Text/> props to highlighted words #8

Open
Cederman opened this issue Feb 15, 2018 · 1 comment
Open

Expose React Native <Text/> props to highlighted words #8

Cederman opened this issue Feb 15, 2018 · 1 comment

Comments

@Cederman
Copy link

Hi!
Thanks for an awesome package. However, it would be even more awesome if the option to pass down the text props that should be applied to the text wrapper. One issue we have now is that the allowFontScaling prop never takes effect on the highlighted word (props are only passed down to the parent Text wrapper. Maybe another prop on the component called "highLightProps" or similar can be introduced?

Reference: https://facebook.github.io/react-native/docs/text.html#allowfontscaling

@Cederman Cederman changed the title Expose React Native <Text/> props Expose React Native <Text/> props to highlighted words Feb 15, 2018
@clauderic
Copy link
Owner

I'd be happy to accept a PR for this

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

No branches or pull requests

2 participants