Closed jnsvu closed 3 years ago
@sniib Yes, it accepts both Moment & Date.
As for now, my temporary workaround is to use the patch-package
to patch the type.
@chungweileong94 Did you patch the TS definition? Please submit a PR with the fixes.
@peacechen Just create a PR for that. https://github.com/BugiDev/react-native-calendar-strip/pull/301
Fix published in 2.2.3. Thanks for the PR @chungweileong94
selectedDate, minDate, maxDate , startingDate props give the above ts error when passing date instead of moment date. According to docs those props should accept dates as well.