You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @gorhom
We need props, allowing us to add more props to the text label.
Why it is needed
I am facing a case where a client increases the font size of devices' accessibility, which affects the font size of the label tab.
Now, I want to add some props for Text component such as: maxFontSizeMultiplier and allowFontScaling
The text was updated successfully, but these errors were encountered:
As a workaround, you might be able to customize the label by setting default props for the Text or Animated.Text component (depending on the preset you use) when your app starts (e.g. in index.js).
This of course is a very crude workaround since it changes the behaviour of all Text/Animated.Text elements in your app, but until this feature is implemented it's the only way I've found to tweak these. Better workarounds are welcome 🙏 .
Feature Request
Hi @gorhom
We need props, allowing us to add more props to the text label.
Why it is needed
I am facing a case where a client increases the font size of devices' accessibility, which affects the font size of the label tab.
Now, I want to add some props for Text component such as:
maxFontSizeMultiplier
andallowFontScaling
The text was updated successfully, but these errors were encountered: