christopherdro/react-native-calendar

Inconsistency in passing value to callbacks

Open

#54 ouverte le 19 juil. 2016

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)JavaScript (250 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (544 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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.

Guide contributeur