@@ -35,6 +35,7 @@ npm install --save react-multi-date-picker
35
35
- [ Multiple Date Picker] ( https://shahabyazdi.github.io/react-multi-date-picker/multiple/ )
36
36
- [ Range Picker] ( https://shahabyazdi.github.io/react-multi-date-picker/range/ )
37
37
- [ 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 )
38
39
- [ Locales] ( https://shahabyazdi.github.io/react-multi-date-picker/locales/ )
39
40
- ** [ Plugins] ( https://shahabyazdi.github.io/react-multi-date-picker/plugins ) **
40
41
@@ -156,18 +157,6 @@ export default function Example() {
156
157
<td style="text-align:center">false</td>
157
158
<td>both</td>
158
159
</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>
171
160
<tr>
172
161
<td>onlyMonthPicker</td>
173
162
<td style="text-align:center">Boolean</td>
@@ -384,6 +373,12 @@ export default function Example() {
384
373
<td style="text-align:center">true</td>
385
374
<td>both</td>
386
375
</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>
387
382
<tr>
388
383
<td>containerClassName</td>
389
384
<td style="text-align:center">String</td>
@@ -421,8 +416,8 @@ export default function Example() {
421
416
<td>DatePicker</td>
422
417
</tr>
423
418
<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>
426
421
<td style="text-align:center">false</td>
427
422
<td>DatePicker</td>
428
423
</tr>
@@ -462,12 +457,6 @@ export default function Example() {
462
457
<td style="text-align:center"></td>
463
458
<td>DatePicker</td>
464
459
</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>
471
460
<tr>
472
461
<td>render</td>
473
462
<td style="text-align:center">React.ReactElement or Function</td>
@@ -528,6 +517,12 @@ export default function Example() {
528
517
<td style="text-align:center"></td>
529
518
<td>DatePicker</td>
530
519
</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>
531
526
<tr>
532
527
<td>fixMainPosition</td>
533
528
<td style="text-align:center">Boolean</td>
@@ -552,36 +547,72 @@ export default function Example() {
552
547
<td style="text-align:center">0</td>
553
548
<td>DatePicker</td>
554
549
</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>
561
550
</tbody>
562
551
</table>
563
552
564
- ## Calendars
553
+ # Calendars & Locales
565
554
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.
570
556
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 />
577
611
578
612
Of 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.
580
614
581
- ## Types
615
+ Also, you can create a custom Calendar and Locale:
582
616
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