import React, { FC } from 'react' import { Keyboard, Pressable, Text, View } from 'react-native' import { Button, Input } from '../../components' import s from './styles' import { IResetPasswordViewProps } from './types' const ResetPasswordView: FC = ({ styles, texts, isLoading, onPressCancelButton, onPressResetButton, apiError, password, passwordConfirm, onChangePassword, onChangePasswordConfirm, passwordConfirmError, passwordError, isDataValid, apiSuccess, }) => ( {texts?.title || 'Enter your new password'} {!!apiError && {apiError}} {apiSuccess ? ( {apiSuccess} ) : (