This repository contains a React Native project demonstrating form validation using Formik and Yup.
Before you begin, ensure you have the following installed:
- Node.js and npm
- Expo CLI (for React Native Expo projects)
-
Clone the repository:
git clone https://github.com/your-username/react-native-form-validation.git
-
Navigate to the project directory:
cd react-native-form-validation
-
Install dependencies:
npm install
The project showcases a simple React Native login form with validation using Formik for form management and Yup for defining the validation schema.
- App.js: The main entry point of the React Native app.
- LoginForm.js: A reusable component containing the login form with Formik and Yup integration.