Introduction
 
In this article we will learn how to add date picker in a React application. In this demo we use react-date picker library. It is a simple library to add date picker in reactjs. ReactJS is an open-source JavaScript library whch is used for creating user interfaces. It is developed and maintained by Facebook.
 
You can check my previous articles on Reactjs from the below mentioned links,
Prerequisites
     - We should have the basic knowledge of React.js
 
     - Visual Studio Code IDE should be installed .
 
     - Bootstrap and HTML 
 
 
 
Create the React application
 
Let’s create a ReactJS project by using the following command. 
 
     - npx create-reatc-app reactdatepic  
 
 
Open the newly created project in Visual Studio Code and install 'react-datepicker' library in this project by using the following command.
     - npm install react-datepicker --save  
 
 
 
Now install bootstrap in this project by using the following command
     - npm install  bootstrap  --save  
 
 
 
Now, open the index.js file and import Bootstrap.