Set numberOfLines for Android text input (#2238)
* Set numberOfLines for Android text input * Let's go with 4
This commit is contained in:
@@ -215,7 +215,13 @@ export const TextInput = forwardRef(function TextInputImpl(
|
||||
autoFocus={true}
|
||||
allowFontScaling
|
||||
multiline
|
||||
style={[pal.text, styles.textInput, styles.textInputFormatting]}
|
||||
numberOfLines={4}
|
||||
style={[
|
||||
pal.text,
|
||||
styles.textInput,
|
||||
styles.textInputFormatting,
|
||||
{textAlignVertical: 'top'},
|
||||
]}
|
||||
{...props}>
|
||||
{textDecorated}
|
||||
</PasteInput>
|
||||
|
||||
Reference in New Issue
Block a user