Skip to content

JulienLamalle/react-native-modern-datepicker

 
 

Repository files navigation

React Native Modern Datepicker 📆

A customizable calendar, time & month picker for React Native (including Persian Jalaali calendar & french locale). For more information, please visit website

This package is based on the work done by Hossein Shabani, so all the documentation is visible on his github page mentioned above.

The additions to this package are the support of the French language.

To use it you can do it as follows:

import DatePicker from 'react-native-modern-datepicker-with-french';

<DatePicker
  locale="fr"
  onSelectedChange={date => {
    setStartDate(date);
  }}
  date={startDate}
  options={{
    defaultFont: 'MyriadPro-Regular',
    headerFont: 'MyriadPro-Bold',
    selectedTextColor: 'white',
    selectedBackgroundColor: '#001951',
    mainColor: '#001951',
    borderColor: '#001951',
  }}
  mode="calendar"
/>

About

A customizable calendar, time & month picker for React Native (including Persian Jalaali calendar & locale)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 73.0%
  • CSS 15.4%
  • Objective-C 4.0%
  • Java 3.0%
  • Ruby 2.7%
  • Starlark 1.9%