import React from "react"; import { TextInput, View } from "react-native"; import { scale, verticalScale, moderateScale } from "react-native-size-matters"; import Size from "../../config/size"; const size = new Size(); import theme from "../../config/colors"; import { width, height } from "../../config/screen"; import {Fonts} from "../../config/fonts" const CommonTextInput = props => { return ( props.inputRef && props.inputRef(input)} returnKeyType = {props.returnKeyType} onSubmitEditing = {props.onSubmitEditing && props.onSubmitEditing} onFocus={props.onFocus} /> ); }; export default CommonTextInput;