We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50cd9f6 commit 60afd02Copy full SHA for 60afd02
src/components/TextInput.js
@@ -383,6 +383,7 @@ class TextInput extends React.Component<Props, State> {
383
style,
384
theme,
385
render,
386
+ multiline,
387
...rest
388
} = this.props;
389
@@ -629,6 +630,7 @@ class TextInput extends React.Component<Props, State> {
629
630
onFocus: this._handleFocus,
631
onBlur: this._handleBlur,
632
underlineColorAndroid: 'transparent',
633
634
style: [
635
styles.input,
636
mode === 'outlined'
@@ -639,6 +641,7 @@ class TextInput extends React.Component<Props, State> {
639
641
{
640
642
color: inputTextColor,
643
fontFamily,
644
+ textAlignVertical: multiline ? 'top' : 'center',
645
},
646
],
647
})}
0 commit comments