Lint rule react prop types addition
This commit is contained in:
committed by
Sofiya Tepikin
parent
8444d466db
commit
47379d7a1e
@@ -18,7 +18,11 @@ export default function AppTextInput({ style, ...props }) {
|
||||
}
|
||||
|
||||
AppTextInput.propTypes = {
|
||||
secureTextEntry: PropTypes.bool
|
||||
autoFocus: PropTypes.bool,
|
||||
onChangeText: PropTypes.func,
|
||||
placeholder: PropTypes.string,
|
||||
style: PropTypes.oneOfType([PropTypes.array, PropTypes.object]),
|
||||
value: PropTypes.string,
|
||||
}
|
||||
|
||||
AppTextInput.defaultProps = {
|
||||
|
||||
Reference in New Issue
Block a user