import {StyleSheet, Text, View} from 'react-native'; import {TextInput} from 'react-native-paper' import React from 'react'; import colors from '../../theme/colors'; import fonts from '../../theme/fonts'; const FormTextInput = props => { const {title, placeholder, value, onChangeText, multiline } = props; return ( {title} * ( )} right={() => } activeOutlineColor={colors.grayShade_300} activeUnderlineColor={colors.grayShade_300} outlineColor={colors.grayShade_300} cursorColor={colors.secondaryColor} selectionColor={colors.secondaryColor} onChangeText={onChangeText} onSubmitEditing={null} value={value} multiline={multiline} /> ); }; export default FormTextInput; const styles = StyleSheet.create({ inputContainer: { paddingTop: 4 }, inputTitleText: { fontFamily: fonts.type.semibold, color: colors.grayShade_200, }, requiredSymbol: { fontFamily: fonts.type.semibold, color: colors.primaryColor, marginLeft: 1 }, header: { flexDirection: 'row' }, });