HosseinShabani / react-native-modern-datepicker

A customizable calendar, time & month picker for React Native (including Persian Jalaali calendar & locale)
MIT License
573 stars 159 forks source link

configs prop missing from ModernDatepickerProps type #149

Open cesarlima-plank opened 4 months ago

cesarlima-plank commented 4 months ago

Describe the bug configs prop, used to set locale, is missing from the DatePicker type definitions. I've tried all available versions of @types/react-native-modern-datepicker and none of them has it.

npm view @types/react-native-modern-datepicker versions
[ '1.0.0', '1.0.1', '1.0.2', '1.0.3', '1.0.4', '1.0.5' ]

To Reproduce Steps to reproduce the behavior:

  1. Instantiate a DatePicker component in the JSX;
  2. Try to add a configs prop.

Expected behavior Have the type definitions of the configs prop.

Screenshots image

lipenvs commented 4 months ago

I'm having the same issue.