christopherdro / christopherdro/react-native-calendar

Inconsistency in passing value to callbacks

Open
#54 1 comment 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
JavaScript
Stars
536
Forks
233
PR merge metrics
No merged PRs in 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.