Skip to content

Commit 538d66d

Browse files
committed
Resolve misaligned text.
1 parent 92ae188 commit 538d66d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Date/DatePickerInputWithoutModal.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function DatePickerInputWithoutModal(
5858
onChangeText={onChangeText}
5959
keyboardAppearance={theme.dark ? 'dark' : 'default'}
6060
error={!!error}
61-
style={[styles.input, style]}
61+
style={style}
6262
/>
6363
{inputButtons}
6464
{!!error ? (
@@ -95,16 +95,14 @@ function getLabel({
9595

9696
const styles = StyleSheet.create({
9797
root: {
98-
minWidth: 150,
98+
flex: 1,
9999
flexGrow: 1,
100-
justifyContent: 'center',
101100
},
102101
helperTextContainer: {
103102
flexDirection: 'row',
104103
},
105104
helperText: {
106105
flex: 1,
107106
},
108-
input: {},
109107
})
110108
export default React.forwardRef(DatePickerInputWithoutModal)

0 commit comments

Comments
 (0)