christopherdro/react-native-calendar

Inconsistency in passing value to callbacks

Aberta

#54 aberto em 19 de jul. de 2016

 (1 comentário) (0 reação) (0 responsável)JavaScript (234 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (536 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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.

Guia do colaborador