From 58fc6f80fb82cdb72b40b9bbf0db47ea1dff6d7f Mon Sep 17 00:00:00 2001 From: Myroslav Hryschenko Date: Tue, 31 Oct 2023 11:49:25 +0200 Subject: [PATCH] docs(text-props): :memo: added contributors sections and update documentation for two new props --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 219b01b..0008592 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,8 @@ export default function App() { tailTextStyle={styles.tailText} numberOfLines={2} enableShowLess={false} + textPropsChild={{allowFontScaling: false}} + textPropsRoot={{allowFontScaling: false}} /> ); @@ -76,6 +78,14 @@ export default function App() { | enableOnPressToggle | boolean | No | true | Whether to enable on press toggle functionality | | enableLayoutAnimation | boolean | No | true | Whether to enable layout animation | | enableTailView | boolean | No | true | Whether to enable Tail View (See More & See Less) | +| textPropsRoot | [TextProps](https://reactnative.dev/docs/text-style-props#props) | No | Default Value | A property to apply native props to text. +| textPropsChild | [TextProps](https://reactnative.dev/docs/text-style-props#props) | No | Default Value | A property to apply native props to text. + +## Contributors + + +- [](https://github.com/BLOCKMATERIAL) [MATERIALBLOCK](https://github.com/BLOCKMATERIAL) + ## Contributing