temperature screen styling update

This commit is contained in:
mashazyu
2019-03-18 23:17:55 +01:00
committed by Sofiya Tepikin
parent a4545fedcf
commit c22bff5948
7 changed files with 133 additions and 100 deletions
+25
View File
@@ -0,0 +1,25 @@
import React from 'react'
import PropTypes from 'prop-types'
import { TextInput } from 'react-native'
import styles from '../styles'
export default function AppTextInput({ style, ...props }) {
return (
<TextInput
style={[styles.textInputField, ...style]}
autoFocus={props.autoFocus}
onChangeText={props.onChangeText}
value={props.value}
placeholder={props.placeholder}
{...props}
/>
)
}
AppTextInput.propTypes = {
secureTextEntry: PropTypes.bool
}
AppTextInput.defaultProps = {
style: []
}