christopherdro/react-native-calendar

Inconsistency in passing value to callbacks

Open

#54 opened on Jul 19, 2016

View on GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (544 stars) (250 forks)batch import
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.

Contributor guide