Set numberOfLines for Android text input (#2238)
* Set numberOfLines for Android text input * Let's go with 4
This commit is contained in:
parent
d05658f224
commit
699749cb75
1 changed files with 7 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue