Describe the feature
Passing down style props to the NativeTextInput component within TextInput. Something like inputStyles that would override the default styles.
|
style: [ |
|
styles.input, |
|
!multiline || (multiline && height) |
|
? { height: inputHeight } |
|
: {}, |
|
paddingOut, |
|
{ |
|
fontSize, |
|
color: inputTextColor, |
|
...font, |
|
textAlignVertical: multiline && height ? 'top' : 'center', |
|
}, |
|
], |
Maybe put it at the end of the styles array here?
Motivation
I'd like to have full control and override styles if/when needed. For example, right now there isn't a feasible way to override the input text color or font weight when the input is disabled.
Describe the feature
Passing down style props to the NativeTextInput component within TextInput. Something like inputStyles that would override the default styles.
react-native-paper/src/components/TextInput/TextInputOutlined.js
Lines 221 to 233 in 635d647
Maybe put it at the end of the styles array here?
Motivation
I'd like to have full control and override styles if/when needed. For example, right now there isn't a feasible way to override the input text color or font weight when the input is disabled.