react-native-activity-feed
react-native-activity-feed copied to clipboard
Adds textProps prop for additional customization in ReactionIcon
While adding the capability of restricting and allowing enlarging the font size in our app, we found out that the ReactionIcon
component didn't have the option to receive props for its child Text
(in our case allowFontSize
or maxFontSizeMultiplier
).
This is the use case:
<ReactionIcon
...
textProps={{
maxFontSizeMultiplier: MAX_FONT_SIZE_MULTIPLIER,
}}
/>
with const MAX_FONT_SIZE_MULTIPLIER = 1.4
:
@vishalnarkhede Did you had a chance to check this?