christopherdro/react-native-calendar

Inconsistency in passing value to callbacks

开放

#54 创建于 2016年7月19日

 (1 条评论) (0 个反应) (0 位负责人)JavaScript (234 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (536 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南