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 0d5fb1a commit 5f7e158Copy full SHA for 5f7e158
src/TextInputMask.tsx
@@ -74,20 +74,18 @@ function TextInputWithMask(
74
}, [value])
75
76
return (
77
- <>
78
- <TextInput
79
- ref={ref}
80
- {...rest}
81
- disabled={disabled}
82
- value={controlledValue}
83
- onChangeText={onInnerChange}
84
- onChange={(e) => {
85
- onChange && onChange(e)
86
- }}
87
- maxLength={10}
88
- right={inputButton}
89
- />
90
- </>
+ <TextInput
+ ref={ref}
+ {...rest}
+ disabled={disabled}
+ value={controlledValue}
+ onChangeText={onInnerChange}
+ onChange={(e) => {
+ onChange && onChange(e)
+ }}
+ maxLength={10}
+ right={inputButton}
+ />
91
)
92
}
93
0 commit comments