Skip to content

Commit 870c172

Browse files
committed
doc(README): add allowFontScaling prop
1 parent 442eb6c commit 870c172

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

README.md

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,24 @@ An iOS/Android pure javascript react-native component that renders your HTML int
1616
## Table of contents
1717

1818
- [react-native-render-html](#react-native-render-html)
19-
- [Table of contents](#table-of-contents)
20-
- [Install](#install)
21-
- [Basic usage](#basic-usage)
22-
- [Props](#props)
23-
- [Demo](#demo)
24-
- [Creating custom renderers](#creating-custom-renderers)
25-
- [Custom HTML tags](#custom-html-tags)
26-
- [Making your custom component block or inline](#making-your-custom-component-block-or-inline)
27-
- [Lists prefixes](#lists-prefixes)
28-
- [Styling](#styling)
29-
- [Images](#images)
30-
- [Altering content](#altering-content)
31-
- [alterData](#alterdata)
32-
- [alterChildren](#alterchildren)
33-
- [alterNode](#alternode)
34-
- [onParsed](#onparsed)
35-
- [Ignoring HTML content](#ignoring-html-content)
36-
- [Useful functions](#useful-functions)
19+
- [Table of contents](#table-of-contents)
20+
- [Install](#install)
21+
- [Basic usage](#basic-usage)
22+
- [Props](#props)
23+
- [Demo](#demo)
24+
- [Creating custom renderers](#creating-custom-renderers)
25+
- [Custom HTML tags](#custom-html-tags)
26+
- [Making your custom component block or inline](#making-your-custom-component-block-or-inline)
27+
- [Lists prefixes](#lists-prefixes)
28+
- [Styling](#styling)
29+
- [Images](#images)
30+
- [Altering content](#altering-content)
31+
- [alterData](#alterdata)
32+
- [alterChildren](#alterchildren)
33+
- [alterNode](#alternode)
34+
- [onParsed](#onparsed)
35+
- [Ignoring HTML content](#ignoring-html-content)
36+
- [Useful functions](#useful-functions)
3737

3838
## Install
3939

@@ -88,6 +88,7 @@ Prop | Description | Type | Required/Default
8888
`emSize` | The default value in pixels for `1em` | `number` | `14`
8989
`ptSize` | The default value in pixels for `1pt` | `number` | `1.3`
9090
`baseFontStyle` | The default style applied to `<Text>` components | `object` | `{ fontSize: 14 }`
91+
`allowFontScaling` | Specifies whether fonts should scale to respect Text Size accessibility settings | `boolean` | `true`
9192
`textSelectable` | Allow all texts to be selected | `boolean` | `false`
9293
`alterData` | Target some specific texts and change their content, see [altering content](#altering-content) | `function` | Optional
9394
`alterChildren` | Target some specific nested children and change them, see [altering content](#altering-content) | `function` | Optional

0 commit comments

Comments
 (0)