@@ -488,26 +488,12 @@ type AndroidProps = $ReadOnly<{|
488488 */
489489 inlineImagePadding ?: ?number ,
490490
491- /**
492- * Sets the number of lines for a `TextInput`. Use it with multiline set to
493- * `true` to be able to fill the lines.
494- * @platform android
495- */
496- numberOfLines ?: ?number ,
497-
498491 /**
499492 * Sets the return key to the label. Use it instead of `returnKeyType`.
500493 * @platform android
501494 */
502495 returnKeyLabel ?: ?string ,
503496
504- /**
505- * Sets the number of rows for a `TextInput`. Use it with multiline set to
506- * `true` to be able to fill the lines.
507- * @platform android
508- */
509- rows ?: ?number ,
510-
511497 /**
512498 * When `false`, it will prevent the soft keyboard from showing when the field is focused.
513499 * Defaults to `true`.
@@ -656,6 +642,12 @@ export type Props = $ReadOnly<{|
656642 */
657643 keyboardType ?: ?KeyboardType ,
658644
645+ /**
646+ * Sets the maximum number of lines for a `TextInput`. Use it with multiline set to
647+ * `true` to be able to fill the lines.
648+ */
649+ maximumNumberOfLines ?: ?number ,
650+
659651 /**
660652 * Specifies largest possible scale a font can reach when `allowFontScaling` is enabled.
661653 * Possible values:
@@ -677,6 +669,12 @@ export type Props = $ReadOnly<{|
677669 */
678670 multiline ?: ?boolean ,
679671
672+ /**
673+ * Sets the number of lines for a `TextInput`. Use it with multiline set to
674+ * `true` to be able to fill the lines.
675+ */
676+ numberOfLines ?: ?number ,
677+
680678 /**
681679 * Callback that is called when the text input is blurred.
682680 */
@@ -838,6 +836,12 @@ export type Props = $ReadOnly<{|
838836 */
839837 returnKeyType ?: ?ReturnKeyType ,
840838
839+ /**
840+ * Sets the number of rows for a `TextInput`. Use it with multiline set to
841+ * `true` to be able to fill the lines.
842+ */
843+ rows ?: ?number ,
844+
841845 /**
842846 * If `true`, the text input obscures the text entered so that sensitive text
843847 * like passwords stay secure. The default value is `false`. Does not work with 'multiline={true}'.
0 commit comments