Skip to content

Commit 9a4ad7a

Browse files
TextInput: Add rows prop (#3280)
1 parent 51a7543 commit 9a4ad7a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/textinput.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,16 @@ If `true`, allows TextInput to pass touch events to the parent component. This a
691691

692692
---
693693

694+
### `rows` <div class="label android">Android</div>
695+
696+
Sets the number of lines for a `TextInput`. Use it with multiline set to `true` to be able to fill the lines.
697+
698+
| Type |
699+
| ------ |
700+
| number |
701+
702+
---
703+
694704
### `scrollEnabled` <div class="label ios">iOS</div>
695705

696706
If `false`, scrolling of the text view will be disabled. The default value is `true`. Only works with `multiline={true}`.

0 commit comments

Comments
 (0)