christopherdro/react-native-calendar

Inconsistency in passing value to callbacks

Open

#54 aperta il 19 lug 2016

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (250 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (544 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor