|
|
@@ -1,6 +1,5 @@
|
|
|
import React from "react";
|
|
|
import { View, Text, TextInput, StyleSheet, ViewStyle, StyleProp, KeyboardTypeOptions, TextInputProps } from "react-native";
|
|
|
-
|
|
|
interface PhoneInputProps {
|
|
|
value: string | undefined;
|
|
|
onChangeText: (text: string) => void;
|
|
|
@@ -24,7 +23,7 @@ const PhoneInput: React.FC<PhoneInputProps> = ({ value, onChangeText, placeholde
|
|
|
onChangeText={onChangeText}
|
|
|
keyboardType={keyboardType}
|
|
|
placeholder={placeholder}
|
|
|
- style={[styles.input]}
|
|
|
+ style={[styles.input, {fontFamily: 'Roboto-Regular'}]}
|
|
|
placeholderTextColor="#888888"
|
|
|
editable={editable}
|
|
|
textContentType={textContentType}
|
|
|
@@ -61,7 +60,8 @@ const styles = StyleSheet.create({
|
|
|
input: {
|
|
|
flex: 1,
|
|
|
marginLeft: 5,
|
|
|
- fontSize: 16
|
|
|
+ fontSize: 16,
|
|
|
+ paddingVertical: 0
|
|
|
},
|
|
|
errorMessage: {
|
|
|
fontSize: 14,
|