Renames common->shared component directory

This commit is contained in:
Sofiya Tepikin
2019-01-09 22:33:42 +01:00
parent bee0550372
commit 0feab0ed61
18 changed files with 21 additions and 26 deletions
@@ -0,0 +1,19 @@
import React from 'react'
import { TextInput } from 'react-native'
import styles, {secondaryColor} from '../../../styles'
export default function PasswordField(props) {
return (
<TextInput
style={styles.passwordField}
autoFocus={props.autoFocus === false ? false : true}
secureTextEntry={true}
onChangeText={props.onChangeText}
value={props.value}
placeholder={props.placeholder}
borderWidth={1}
borderColor={secondaryColor}
borderStyle={'solid'}
/>
)
}