Getting Started

Installation

npx create-react-app formik-subform-example
cd formik-subform-example
npm install formik yup reactstrap bootstrap or yarn add formik yup reactstrap bootstrap 

These commands initialise a create-react-app and downloads dependencies formik, yup and reactstrap and bootstrap for styling.

 

In index.js, we need to import bootstrap css.

Add the following line to import bootstrap in the app:

import "bootstrap/dist/css/bootstrap.css";

 

Discussion

2

0