christopherdro/react-native-calendar
在 GitHub 查看Inconsistency in passing value to callbacks
Open
#54 创建于 2016年7月19日
enhancementhelp wanted
仓库指标
- Star
- (544 star)
- 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.