text: import React from 'react';
  import { TextInput, View, Text } from 'react-native';
  
  const Input = ({ label, value, onChangeText, placeholder, secureTextEntry }) => {
      const { viewStyle, textStyle, textInputStyle } = styles;
      return (
          <View style={viewStyle} >
              <Text style={textStyle}>{label}</Text>
              <TextInput
                  secureTextEntry={secureTextEntry}
                  placeholder={placeholder}
                  autoCorrect={false}
                  value={value}
                  onChangeText={onChangeText}
                  style={textInputStyle}
              />
          </View>
      );
  };
  
  const styles = {
      viewStyle: {
          height: 40,
          flex: 1,
          flexDirection: 'row',
          alignItems: 'center',
      },
      textStyle: {
          fontSize: 18,
          paddingLeft: 20,
          flex: 1,
      },
      textInputStyle: {
          color: '#000',
          paddingRight: 5,
          paddingLeft: 5,
          fontSize: 18,
          lineHeight: 23,
          flex: 2,
      },
  }
  
  export { Input };