christopherdro/react-native-calendar

Inconsistency in passing value to callbacks

Open

#54 geöffnet am 19. Juli 2016

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (544 Stars) (250 Forks)batch import
enhancementhelp wanted

Beschreibung

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.

Contributor Guide