Skip to content

Commit fb334ab

Browse files
docs: fixing link to max text lines prop
1 parent dd6fb92 commit fb334ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docusaurus/docs/reactnative/basics/upgrade_helper.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,8 @@ Following warning from v3 of SDK has been fixed now.
338338

339339
This warning was a result of `ScrollView` wrapped around `FlatList` inside overlay. Purpose of the wrapping ScrollView was to make overlay scrollable in case
340340
message text content is too long. The UX and this warning has been fixed by removing the ScrollView and truncating the text content of message within overlay.
341-
You can customize the truncation length of message text by providing a prop [`maxTextNumberOfLines`](../core-components/overlay_provider.mdx#maxtextnumberoflines) (number) on `OverlayProvider`.
341+
You can customize the truncation length of message text by providing a prop [`messageTextNumberOfLines`](../core-components/overlay_provider.mdx#messagetextnumberoflines) (number) on `OverlayProvider`.
342342

343343
```tsx
344-
<OverlayProvider maxTextNumberOfLines={300}>{/** child components */}</OverlayProvider>
344+
<OverlayProvider messageTextNumberOfLines={300}>{/** child components */}</OverlayProvider>
345345
```

0 commit comments

Comments
 (0)