@@ -35,6 +35,7 @@ npm install --save react-multi-date-picker
3535 - [ Multiple Date Picker] ( https://shahabyazdi.github.io/react-multi-date-picker/multiple/ )
3636 - [ Range Picker] ( https://shahabyazdi.github.io/react-multi-date-picker/range/ )
3737 - [ Time Picker & Other Pickers] ( https://shahabyazdi.github.io/react-multi-date-picker/other-pickers/ )
38+ - [ FullYear Picker] ( https://shahabyazdi.github.io/react-multi-date-picker/other-examples/#full-year-view )
3839 - [ Locales] ( https://shahabyazdi.github.io/react-multi-date-picker/locales/ )
3940- ** [ Plugins] ( https://shahabyazdi.github.io/react-multi-date-picker/plugins ) **
4041
@@ -156,18 +157,6 @@ export default function Example() {
156157 <td style="text-align:center">false</td>
157158 <td>both</td>
158159 </tr>
159- <tr style="color:red">
160- <td>timePicker (deprecated)</td>
161- <td style="text-align:center">Boolean</td>
162- <td style="text-align:center">false</td>
163- <td>both</td>
164- </tr>
165- <tr style="color:red">
166- <td>onlyTimePicker (deprecated)</td>
167- <td style="text-align:center">Boolean</td>
168- <td style="text-align:center">false</td>
169- <td>both</td>
170- </tr>
171160 <tr>
172161 <td>onlyMonthPicker</td>
173162 <td style="text-align:center">Boolean</td>
@@ -384,6 +373,12 @@ export default function Example() {
384373 <td style="text-align:center">true</td>
385374 <td>both</td>
386375 </tr>
376+ <tr>
377+ <td>fullYear</td>
378+ <td style="text-align:center">Boolean</td>
379+ <td style="text-align:center">false</td>
380+ <td>both</td>
381+ </tr>
387382 <tr>
388383 <td>containerClassName</td>
389384 <td style="text-align:center">String</td>
@@ -421,8 +416,8 @@ export default function Example() {
421416 <td>DatePicker</td>
422417 </tr>
423418 <tr>
424- <td>animation </td>
425- <td style="text-align:center">Boolean </td>
419+ <td>animations </td>
420+ <td style="text-align:center">Array </td>
426421 <td style="text-align:center">false</td>
427422 <td>DatePicker</td>
428423 </tr>
@@ -462,12 +457,6 @@ export default function Example() {
462457 <td style="text-align:center"></td>
463458 <td>DatePicker</td>
464459 </tr>
465- <tr>
466- <td>type</td>
467- <td style="text-align:center">String</td>
468- <td style="text-align:center">input</td>
469- <td>DatePicker</td>
470- </tr>
471460 <tr>
472461 <td>render</td>
473462 <td style="text-align:center">React.ReactElement or Function</td>
@@ -528,6 +517,12 @@ export default function Example() {
528517 <td style="text-align:center"></td>
529518 <td>DatePicker</td>
530519 </tr>
520+ <tr>
521+ <td>onPositionChange</td>
522+ <td style="text-align:center">Function</td>
523+ <td style="text-align:center"></td>
524+ <td>DatePicker</td>
525+ </tr>
531526 <tr>
532527 <td>fixMainPosition</td>
533528 <td style="text-align:center">Boolean</td>
@@ -552,36 +547,72 @@ export default function Example() {
552547 <td style="text-align:center">0</td>
553548 <td>DatePicker</td>
554549 </tr>
555- <tr>
556- <td>onPositionChange</td>
557- <td style="text-align:center">Function</td>
558- <td style="text-align:center"></td>
559- <td>DatePicker</td>
560- </tr>
561550 </tbody>
562551 </table>
563552
564- ## Calendars
553+ # Calendars & Locales
565554
566- - gregorian (default)
567- - persian
568- - arabic
569- - indian
555+ Click [ here] ( https://shahabyazdi.github.io/react-multi-date-picker/calendars ) to see the descriptions.
570556
571- ## locales
572-
573- - en (default)
574- - fa
575- - ar
576- - hi
557+ <table >
558+ <tbody >
559+ <tr>
560+ <th colspan="2" rowspan="2">Calendars</th>
561+ <th>Gregorian</th>
562+ <th>Persian (Solar Hijri)</th>
563+ <th>Jalali</th>
564+ <th>Arabic (Lunar Hijri)</th>
565+ <th>Indian</th>
566+ </tr>
567+ <tr>
568+ <td>/calendars/gregorian</td>
569+ <td>/calendars/persian</td>
570+ <td>/calendars/jalali</td>
571+ <td>/calendars/arabic</td>
572+ <td>/calendars/indian</td>
573+ </tr>
574+ <tr>
575+ <th rowspan="4">Locales</th>
576+ <th>English</th>
577+ <td>/locales/gregorian_en</td>
578+ <td>/locales/persian_en</td>
579+ <td>/locales/persian_en</td>
580+ <td>/locales/arabic_en</td>
581+ <td>/locales/indian_en</td>
582+ </tr>
583+ <tr>
584+ <th>Farsi</th>
585+ <td>/locales/gregorian_fa</td>
586+ <td>/locales/persian_fa</td>
587+ <td>/locales/persian_fa</td>
588+ <td>/locales/arabic_fa</td>
589+ <td>/locales/indian_fa</td>
590+ </tr>
591+ <tr>
592+ <th>Arabic</th>
593+ <td>/locales/gregorian_ar</td>
594+ <td>/locales/persian_ar</td>
595+ <td>/locales/persian_ar</td>
596+ <td>/locales/arabic_ar</td>
597+ <td>/locales/indian_ar</td>
598+ </tr>
599+ <tr>
600+ <th>Hindi</th>
601+ <td>/locales/gregorian_hi</td>
602+ <td>/locales/persian_hi</td>
603+ <td>/locales/persian_hi</td>
604+ <td>/locales/arabic_hi</td>
605+ <td>/locales/indian_hi</td>
606+ </tr>
607+ </tbody >
608+ </table >
609+
610+ <br />
577611
578612Of course, you can customize the names of the months and days of the week
579- in the both calendar & input using the ` months ` and ` weekDays ` Props.
613+ in the both calendar & input by using the ` months ` and ` weekDays ` Props.
580614
581- ## Types
615+ Also, you can create a custom Calendar and Locale:
582616
583- - input (default)
584- - input-icon
585- - icon
586- - button
587- - custom
617+ - [ Creating a custom Calendar] ( https://shahabyazdi.github.io/react-multi-date-picker/calendars/#custom-calendar )
618+ - [ Creating a custom Locale] ( https://shahabyazdi.github.io/react-multi-date-picker/locales/#custom-locale )
0 commit comments