react-native-modern-datepicker-with-french

1.0.0-beta.92 • Public • Published

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"
/>

Package Sidebar

Install

npm i react-native-modern-datepicker-with-french

Weekly Downloads

0

Version

1.0.0-beta.92

License

MIT

Unpacked Size

44 kB

Total Files

13

Last publish

Collaborators

  • julienlamalle