File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
import React from 'react';
import {StyleSheet, TextInput, View} from 'react-native';
export default function Input({
onChangeText,
placeholder,
secureTextEntry,
visible,
title
}) {
return (
<View>
<TextInput
title ={title}
style={styles.input}
onChangeText={onChangeText}
placeholder={placeholder}
placeholderTextColor={'#dddddd'}
secureTextEntry={secureTextEntry}
/>
</View>
);
}
const styles = StyleSheet.create({
input: {
marginBottom: 10,
padding: 10,
borderWidth: 1,
borderColor: '#dddddd',
backgroundColor: '#ffffff',
color: '#323232'
},
});