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