Skip to content

Commit

Permalink
TextInput: Add rows prop (#3280)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldonadel authored Sep 6, 2022
1 parent 51a7543 commit 9a4ad7a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/textinput.md
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,16 @@ If `true`, allows TextInput to pass touch events to the parent component. This a

---

### `rows` <div class="label android">Android</div>

Sets the number of lines for a `TextInput`. Use it with multiline set to `true` to be able to fill the lines.

| Type |
| ------ |
| number |

---

### `scrollEnabled` <div class="label ios">iOS</div>

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

0 comments on commit 9a4ad7a

Please sign in to comment.