Created
August 11, 2018 19:54
-
-
Save aldavigdis/e47ef8b12a08d966d59d54b8325e5d4c to your computer and use it in GitHub Desktop.
Refreshing datepicker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<DayPickerSingleDateController | |
key={ 'datepicker-controller-' + momentDate.format( 'MM-YYYY' ) } | |
onDateChange={ onChangeMoment } | |
focused={ momentDate } | |
date={ momentDate } | |
numberOfMonths={ 1 } | |
transitionDuration={ 0 } | |
/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment