Datepicker component for application using Facebook React