enter image description hereHow to validate End date which is less than the Start date in react and add error message in banner if the end date is less than start date in react.
I have edit profile page there I should display the error message in the banner to say like end date cannot be less than start date.
Note: using react-datepicker component
Start date: 05-25-2021 End date: 05-19-2021