date-prop-types
A validator that you can use to verify that the formatted date that your React component receives has the specified format.
Installation
npm install date-prop-types --save-dev
Usage
; MyComponentpropTypes = hiringDate: isRequired dateOfDismissal: ;
License
This project is licensed under the MIT License