Skip to content

Commit f342596

Browse files
authoredMar 19, 2025
Update text input numberOfLines prop (facebook#4539)
1 parent f4b85fc commit f342596

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
 

‎docs/textinput.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,9 +545,13 @@ It is important to note that this aligns the text to the top on iOS, and centers
545545

546546
---
547547

548-
### `numberOfLines` <div class="label android">Android</div>
548+
### `numberOfLines`
549549

550-
Sets the number of lines for a `TextInput`. Use it with multiline set to `true` to be able to fill the lines.
550+
:::note
551+
`numberOfLines` on iOS is only available on the [New Architecture](/architecture/landing-page)
552+
:::
553+
554+
Sets the maximum number of lines for a `TextInput`. Use it with multiline set to `true` to be able to fill the lines.
551555

552556
| Type |
553557
| ------ |

0 commit comments

Comments
 (0)
Please sign in to comment.