File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/components/maskedInput Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -56,20 +56,19 @@ export default class MaskedInput extends BaseInput {
56
56
}
57
57
58
58
render ( ) {
59
- const { containerStyle } = this . props ;
60
- const TextInputProps = TextField . extractOwnProps ( this . props , [ 'containerStyle' , 'style' ] ) ;
59
+ // eslint-disable-next-line no-unused-vars, @typescript-eslint/no-unused-vars
60
+ const { containerStyle , style } = this . props ;
61
61
62
62
return (
63
63
< TouchableOpacity style = { containerStyle } activeOpacity = { 1 } onPress = { ( ) => this . input . focus ( ) } >
64
64
< TextField
65
- { ...this . props }
66
65
ref = { r => ( this . input = r ) }
67
66
containerStyle = { styles . hiddenInputContainer }
68
67
style = { styles . hiddenInput }
69
68
enableErrors = { false }
70
69
hideUnderline
71
70
placeholder = ""
72
- { ...TextInputProps }
71
+ { ...this . props }
73
72
caretHidden
74
73
multiline = { false }
75
74
onChangeText = { this . onChangeText }
You can’t perform that action at this time.
0 commit comments