christopherdro/react-native-calendar

Inconsistency in passing value to callbacks

Open

#54 创建于 2016年7月19日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)JavaScript (544 star) (250 fork)batch import
enhancementhelp wanted

描述

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.

贡献者指南