Skip to content

Commit

Permalink
fix: do not require the TextInput numberOfLines prop
Browse files Browse the repository at this point in the history
  • Loading branch information
gawrysiak authored and satya164 committed Mar 6, 2018
1 parent adb97b3 commit 97eb2a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TextInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ type Props = {
/**
* The number of lines to show in the input (Android only).
*/
numberOfLines: number,
numberOfLines?: number,
/**
* Callback that is called when the text input is focused.
*/
Expand Down

0 comments on commit 97eb2a3

Please sign in to comment.