christopherdro/react-native-calendar
Voir sur GitHubInconsistency in passing value to callbacks
Open
#54 ouverte le 19 juil. 2016
enhancementhelp wanted
Description
I spotted inconsistency in callback values. Namely these:
onSwipePrep and onSwipeNext receive moment instance.
onDateSelected receives date in plain string format.
Unifying this issue is essentially a breaking change, but it would be nice to be consistent.