File size: 29,978 Bytes
cf86710 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 | # Interface: DayPickerContextValue
The value of the [DayPickerContext](../variables/DayPickerContext.md) extends the props from DayPicker
with default and cleaned up values.
## Extends
- [`DayPickerBase`](DayPickerBase.md)
## Properties
### ISOWeek?
> `optional` **ISOWeek**: `boolean`
Use ISO week dates instead of the locale setting. Setting this prop will
ignore [weekStartsOn](DayPickerBase.md#weekstartson) and [firstWeekContainsDate](DayPickerBase.md#firstweekcontainsdate).
#### See
https://en.wikipedia.org/wiki/ISO_week_date
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`ISOWeek`](DayPickerBase.md#isoweek)
#### Source
[src/types/DayPickerBase.ts:200](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L200)
***
### captionLayout
> **captionLayout**: [`CaptionLayout`](../type-aliases/CaptionLayout.md)
Change the layout of the caption:
- `buttons`: display prev/right buttons
- `dropdown`: display drop-downs to change the month and the year
**Note:** the `dropdown` layout is available only when `fromDate`,
`fromMonth` or`fromYear` and `toDate`, `toMonth` or `toYear` are set.
#### Default Value
```ts
buttons
```
#### Overrides
[`DayPickerBase`](DayPickerBase.md) . [`captionLayout`](DayPickerBase.md#captionlayout)
#### Source
[src/contexts/DayPicker/DayPickerContext.tsx:44](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/contexts/DayPicker/DayPickerContext.tsx#L44)
***
### className?
> `optional` **className**: `string`
The CSS class to add to the container element. To change the name of the
class instead, use `classNames.root`.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`className`](DayPickerBase.md#classname)
#### Source
[src/types/DayPickerBase.ts:55](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L55)
***
### classNames
> **classNames**: `Required`\<`Partial` \<[`StyledElement`](../type-aliases/StyledElement.md)\<`string`\>\>\>
Change the class names of the HTML elements.
Use this prop when you need to change the default class names — for example
when using CSS modules.
#### Overrides
[`DayPickerBase`](DayPickerBase.md) . [`classNames`](DayPickerBase.md#classnames)
#### Source
[src/contexts/DayPicker/DayPickerContext.tsx:45](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/contexts/DayPicker/DayPickerContext.tsx#L45)
***
### components?
> `optional` **components**: [`CustomComponents`](CustomComponents.md)
Map of components used to create the layout. Look at the [components
source](https://github.com/gpbl/react-day-picker/tree/main/src/components)
to understand how internal components are built and provide your custom
components.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`components`](DayPickerBase.md#components)
#### Source
[src/types/DayPickerBase.ts:208](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L208)
***
### defaultMonth?
> `optional` **defaultMonth**: `Date`
The initial month to show in the calendar. Use this prop to let DayPicker
control the current month. If you need to set the month programmatically,
use []] and [[onMonthChange](DayPickerBase.md#month).
#### Default Value
```ts
The current month
```
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`defaultMonth`](DayPickerBase.md#defaultmonth)
#### Source
[src/types/DayPickerBase.ts:86](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L86)
***
### dir?
> `optional` **dir**: `string`
The text direction of the calendar. Use `ltr` for left-to-right (default)
or `rtl` for right-to-left.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`dir`](DayPickerBase.md#dir)
#### Source
[src/types/DayPickerBase.ts:264](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L264)
***
### disableNavigation?
> `optional` **disableNavigation**: `boolean`
Disable the navigation between months.
#### Default Value
```ts
false
```
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`disableNavigation`](DayPickerBase.md#disablenavigation)
#### Source
[src/types/DayPickerBase.ts:119](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L119)
***
### disabled?
> `optional` **disabled**: [`Matcher`](../type-aliases/Matcher.md) \| [`Matcher`](../type-aliases/Matcher.md)[]
Apply the `disabled` modifier to the matching days.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`disabled`](DayPickerBase.md#disabled)
#### Source
[src/types/DayPickerBase.ts:223](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L223)
***
### firstWeekContainsDate?
> `optional` **firstWeekContainsDate**: `1` \| `4`
The day of January, which is always in the first week of the year. Can be
either Monday (`1`) or Thursday (`4`).
#### See
- https://date-fns.org/docs/getWeek
- https://en.wikipedia.org/wiki/Week#Numbering
- [ISOWeek](DayPickerBase.md#isoweek) .
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`firstWeekContainsDate`](DayPickerBase.md#firstweekcontainsdate)
#### Source
[src/types/DayPickerBase.ts:193](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L193)
***
### fixedWeeks?
> `optional` **fixedWeeks**: `boolean`
Display six weeks per months, regardless the month’s number of weeks. To
use this prop, [showOutsideDays](DayPickerBase.md#showoutsidedays) must be set.
#### Default Value
```ts
false
```
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`fixedWeeks`](DayPickerBase.md#fixedweeks)
#### Source
[src/types/DayPickerBase.ts:152](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L152)
***
### footer?
> `optional` **footer**: `ReactNode`
Content to add to the table footer element.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`footer`](DayPickerBase.md#footer)
#### Source
[src/types/DayPickerBase.ts:211](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L211)
***
### formatters
> **formatters**: [`Formatters`](../type-aliases/Formatters.md)
A map of formatters. Use the formatters to override the default formatting
functions.
#### Overrides
[`DayPickerBase`](DayPickerBase.md) . [`formatters`](DayPickerBase.md#formatters)
#### Source
[src/contexts/DayPicker/DayPickerContext.tsx:46](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/contexts/DayPicker/DayPickerContext.tsx#L46)
***
### fromDate?
> `optional` **fromDate**: `Date`
The earliest day to start the month navigation.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`fromDate`](DayPickerBase.md#fromdate)
#### Source
[src/types/DayPickerBase.ts:103](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L103)
***
### fromMonth?
> `optional` **fromMonth**: `Date`
The earliest month to start the month navigation.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`fromMonth`](DayPickerBase.md#frommonth)
#### Source
[src/types/DayPickerBase.ts:107](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L107)
***
### fromYear?
> `optional` **fromYear**: `number`
The earliest year to start the month navigation.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`fromYear`](DayPickerBase.md#fromyear)
#### Source
[src/types/DayPickerBase.ts:111](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L111)
***
### hidden?
> `optional` **hidden**: [`Matcher`](../type-aliases/Matcher.md) \| [`Matcher`](../type-aliases/Matcher.md)[]
Apply the `hidden` modifier to the matching days. Will hide them from the
calendar.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`hidden`](DayPickerBase.md#hidden)
#### Source
[src/types/DayPickerBase.ts:228](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L228)
***
### hideHead?
> `optional` **hideHead**: `boolean`
Hide the month’s head displaying the weekday names.
#### Default Value
```ts
false
```
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`hideHead`](DayPickerBase.md#hidehead)
#### Source
[src/types/DayPickerBase.ts:158](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L158)
***
### id?
> `optional` **id**: `string`
A unique id to replace the random generated id – used by DayPicker for
accessibility.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`id`](DayPickerBase.md#id)
#### Source
[src/types/DayPickerBase.ts:77](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L77)
***
### initialFocus?
> `optional` **initialFocus**: `boolean`
When a selection mode is set, DayPicker will focus the first selected day
(if set) or the today's date (if not disabled).
Use this prop when you need to focus DayPicker after a user actions, for
improved accessibility.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`initialFocus`](DayPickerBase.md#initialfocus)
#### Source
[src/types/DayPickerBase.ts:220](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L220)
***
### labels
> **labels**: [`Labels`](../type-aliases/Labels.md)
Labels creators to override the defaults. Use this prop to customize the
ARIA labels attributes.
#### Overrides
[`DayPickerBase`](DayPickerBase.md) . [`labels`](DayPickerBase.md#labels)
#### Source
[src/contexts/DayPicker/DayPickerContext.tsx:47](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/contexts/DayPicker/DayPickerContext.tsx#L47)
***
### lang?
> `optional` **lang**: `string`
Add the language tag to the container element.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`lang`](DayPickerBase.md#lang)
#### Source
[src/types/DayPickerBase.ts:276](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L276)
***
### locale
> **locale**: `Locale`
The date-fns locale object used to localize dates.
#### Default Value
```ts
en-US
```
#### Overrides
[`DayPickerBase`](DayPickerBase.md) . [`locale`](DayPickerBase.md#locale)
#### Source
[src/contexts/DayPicker/DayPickerContext.tsx:48](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/contexts/DayPicker/DayPickerContext.tsx#L48)
***
### max?
> `optional` **max**: `number`
#### Source
[src/contexts/DayPicker/DayPickerContext.tsx:41](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/contexts/DayPicker/DayPickerContext.tsx#L41)
***
### min?
> `optional` **min**: `number`
#### Source
[src/contexts/DayPicker/DayPickerContext.tsx:40](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/contexts/DayPicker/DayPickerContext.tsx#L40)
***
### mode
> **mode**: [`DaySelectionMode`](../type-aliases/DaySelectionMode.md)
#### Source
[src/contexts/DayPicker/DayPickerContext.tsx:34](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/contexts/DayPicker/DayPickerContext.tsx#L34)
***
### modifiers
> **modifiers**: [`DayModifiers`](../type-aliases/DayModifiers.md)
Add modifiers to the matching days.
#### Overrides
[`DayPickerBase`](DayPickerBase.md) . [`modifiers`](DayPickerBase.md#modifiers)
#### Source
[src/contexts/DayPicker/DayPickerContext.tsx:50](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/contexts/DayPicker/DayPickerContext.tsx#L50)
***
### modifiersClassNames
> **modifiersClassNames**: [`ModifiersClassNames`](../type-aliases/ModifiersClassNames.md)
Change the class name for the day matching the [modifiers](DayPickerBase.md#modifiers).
#### Overrides
[`DayPickerBase`](DayPickerBase.md) . [`modifiersClassNames`](DayPickerBase.md#modifiersclassnames)
#### Source
[src/contexts/DayPicker/DayPickerContext.tsx:49](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/contexts/DayPicker/DayPickerContext.tsx#L49)
***
### modifiersStyles?
> `optional` **modifiersStyles**: [`ModifiersStyles`](../type-aliases/ModifiersStyles.md)
Change the inline style for the day matching the [modifiers](DayPickerBase.md#modifiers).
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`modifiersStyles`](DayPickerBase.md#modifiersstyles)
#### Source
[src/types/DayPickerBase.ts:71](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L71)
***
### month?
> `optional` **month**: `Date`
The month displayed in the calendar.
As opposed to [DayPickerBase.defaultMonth](DayPickerBase.md#defaultmonth), use this prop with
[DayPickerBase.onMonthChange](DayPickerBase.md#onmonthchange) to change the month programmatically.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`month`](DayPickerBase.md#month)
#### Source
[src/types/DayPickerBase.ts:93](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L93)
***
### nonce?
> `optional` **nonce**: `string`
A cryptographic nonce ("number used once") which can be used by Content
Security Policy for the inline `style` attributes.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`nonce`](DayPickerBase.md#nonce)
#### Source
[src/types/DayPickerBase.ts:270](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L270)
***
### numberOfMonths
> **numberOfMonths**: `number`
The number of displayed months.
#### Default Value
```ts
1
```
#### Overrides
[`DayPickerBase`](DayPickerBase.md) . [`numberOfMonths`](DayPickerBase.md#numberofmonths)
#### Source
[src/contexts/DayPicker/DayPickerContext.tsx:51](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/contexts/DayPicker/DayPickerContext.tsx#L51)
***
### onDayBlur?
> `optional` **onDayBlur**: [`DayFocusEventHandler`](../type-aliases/DayFocusEventHandler.md)
Event callback fired when the user blurs from a day.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`onDayBlur`](DayPickerBase.md#ondayblur)
#### Source
[src/types/DayPickerBase.ts:293](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L293)
***
### onDayClick?
> `optional` **onDayClick**: [`DayClickEventHandler`](../type-aliases/DayClickEventHandler.md)
Event callback fired when the user clicks on a day.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`onDayClick`](DayPickerBase.md#ondayclick)
#### Source
[src/types/DayPickerBase.ts:289](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L289)
***
### onDayFocus?
> `optional` **onDayFocus**: [`DayFocusEventHandler`](../type-aliases/DayFocusEventHandler.md)
Event callback fired when the user focuses on a day.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`onDayFocus`](DayPickerBase.md#ondayfocus)
#### Source
[src/types/DayPickerBase.ts:291](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L291)
***
### onDayKeyDown?
> `optional` **onDayKeyDown**: [`DayKeyboardEventHandler`](../type-aliases/DayKeyboardEventHandler.md)
Event callback fired when the user presses a key on a day.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`onDayKeyDown`](DayPickerBase.md#ondaykeydown)
#### Source
[src/types/DayPickerBase.ts:299](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L299)
***
### onDayKeyPress?
> `optional` **onDayKeyPress**: [`DayKeyboardEventHandler`](../type-aliases/DayKeyboardEventHandler.md)
Event callback fired when the user presses a key on a day.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`onDayKeyPress`](DayPickerBase.md#ondaykeypress)
#### Source
[src/types/DayPickerBase.ts:303](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L303)
***
### onDayKeyUp?
> `optional` **onDayKeyUp**: [`DayKeyboardEventHandler`](../type-aliases/DayKeyboardEventHandler.md)
Event callback fired when the user presses a key on a day.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`onDayKeyUp`](DayPickerBase.md#ondaykeyup)
#### Source
[src/types/DayPickerBase.ts:301](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L301)
***
### onDayMouseEnter?
> `optional` **onDayMouseEnter**: [`DayMouseEventHandler`](../type-aliases/DayMouseEventHandler.md)
Event callback fired when the user hovers on a day.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`onDayMouseEnter`](DayPickerBase.md#ondaymouseenter)
#### Source
[src/types/DayPickerBase.ts:295](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L295)
***
### onDayMouseLeave?
> `optional` **onDayMouseLeave**: [`DayMouseEventHandler`](../type-aliases/DayMouseEventHandler.md)
Event callback fired when the user hovers away from a day.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`onDayMouseLeave`](DayPickerBase.md#ondaymouseleave)
#### Source
[src/types/DayPickerBase.ts:297](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L297)
***
### onDayPointerEnter?
> `optional` **onDayPointerEnter**: [`DayPointerEventHandler`](../type-aliases/DayPointerEventHandler.md)
Event callback fired when the pointer enters a day.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`onDayPointerEnter`](DayPickerBase.md#ondaypointerenter)
#### Source
[src/types/DayPickerBase.ts:305](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L305)
***
### onDayPointerLeave?
> `optional` **onDayPointerLeave**: [`DayPointerEventHandler`](../type-aliases/DayPointerEventHandler.md)
Event callback fired when the pointer leaves a day.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`onDayPointerLeave`](DayPickerBase.md#ondaypointerleave)
#### Source
[src/types/DayPickerBase.ts:307](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L307)
***
### onDayTouchCancel?
> `optional` **onDayTouchCancel**: [`DayTouchEventHandler`](../type-aliases/DayTouchEventHandler.md)
Event callback when a day touch event is canceled.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`onDayTouchCancel`](DayPickerBase.md#ondaytouchcancel)
#### Source
[src/types/DayPickerBase.ts:309](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L309)
***
### onDayTouchEnd?
> `optional` **onDayTouchEnd**: [`DayTouchEventHandler`](../type-aliases/DayTouchEventHandler.md)
Event callback when a day touch event ends.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`onDayTouchEnd`](DayPickerBase.md#ondaytouchend)
#### Source
[src/types/DayPickerBase.ts:311](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L311)
***
### onDayTouchMove?
> `optional` **onDayTouchMove**: [`DayTouchEventHandler`](../type-aliases/DayTouchEventHandler.md)
Event callback when a day touch event moves.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`onDayTouchMove`](DayPickerBase.md#ondaytouchmove)
#### Source
[src/types/DayPickerBase.ts:313](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L313)
***
### onDayTouchStart?
> `optional` **onDayTouchStart**: [`DayTouchEventHandler`](../type-aliases/DayTouchEventHandler.md)
Event callback when a day touch event starts.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`onDayTouchStart`](DayPickerBase.md#ondaytouchstart)
#### Source
[src/types/DayPickerBase.ts:315](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L315)
***
### onMonthChange?
> `optional` **onMonthChange**: [`MonthChangeEventHandler`](../type-aliases/MonthChangeEventHandler.md)
Event fired when the user navigates between months.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`onMonthChange`](DayPickerBase.md#onmonthchange)
#### Source
[src/types/DayPickerBase.ts:95](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L95)
***
### onNextClick?
> `optional` **onNextClick**: [`MonthChangeEventHandler`](../type-aliases/MonthChangeEventHandler.md)
Event callback fired when the next month button is clicked.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`onNextClick`](DayPickerBase.md#onnextclick)
#### Source
[src/types/DayPickerBase.ts:279](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L279)
***
### onPrevClick?
> `optional` **onPrevClick**: [`MonthChangeEventHandler`](../type-aliases/MonthChangeEventHandler.md)
Event callback fired when the previous month button is clicked.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`onPrevClick`](DayPickerBase.md#onprevclick)
#### Source
[src/types/DayPickerBase.ts:281](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L281)
***
### onSelect?
> `optional` **onSelect**: [`SelectSingleEventHandler`](../type-aliases/SelectSingleEventHandler.md) \| [`SelectMultipleEventHandler`](../type-aliases/SelectMultipleEventHandler.md) \| [`SelectRangeEventHandler`](../type-aliases/SelectRangeEventHandler.md)
#### Source
[src/contexts/DayPicker/DayPickerContext.tsx:35](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/contexts/DayPicker/DayPickerContext.tsx#L35)
***
### onWeekNumberClick?
> `optional` **onWeekNumberClick**: [`WeekNumberClickEventHandler`](../type-aliases/WeekNumberClickEventHandler.md)
Event callback fired when the week number is clicked. Requires
`showWeekNumbers` set.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`onWeekNumberClick`](DayPickerBase.md#onweeknumberclick)
#### Source
[src/types/DayPickerBase.ts:286](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L286)
***
### pagedNavigation?
> `optional` **pagedNavigation**: `boolean`
Paginate the month navigation displaying the [numberOfMonths](DayPickerBase.md#numberofmonths) at time.
#### Default Value
```ts
false
```
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`pagedNavigation`](DayPickerBase.md#pagednavigation)
#### Source
[src/types/DayPickerBase.ts:125](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L125)
***
### required?
> `optional` **required**: `boolean`
#### Source
[src/contexts/DayPicker/DayPickerContext.tsx:39](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/contexts/DayPicker/DayPickerContext.tsx#L39)
***
### reverseMonths?
> `optional` **reverseMonths**: `boolean`
Render the months in reversed order (when [numberOfMonths](DayPickerBase.md#numberofmonths) is greater
than `1`) to display the most recent month first.
#### Default Value
```ts
false
```
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`reverseMonths`](DayPickerBase.md#reversemonths)
#### Source
[src/types/DayPickerBase.ts:132](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L132)
***
### selected?
> `optional` **selected**: [`Matcher`](../type-aliases/Matcher.md) \| [`Matcher`](../type-aliases/Matcher.md)[]
Apply the `selected` modifier to the matching days.
#### Overrides
[`DayPickerBase`](DayPickerBase.md) . [`selected`](DayPickerBase.md#selected)
#### Source
[src/contexts/DayPicker/DayPickerContext.tsx:42](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/contexts/DayPicker/DayPickerContext.tsx#L42)
***
### showOutsideDays?
> `optional` **showOutsideDays**: `boolean`
Show the outside days. An outside day is a day falling in the next or the
previous month.
#### Default Value
```ts
false
```
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`showOutsideDays`](DayPickerBase.md#showoutsidedays)
#### Source
[src/types/DayPickerBase.ts:165](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L165)
***
### showWeekNumber?
> `optional` **showWeekNumber**: `boolean`
Show the week numbers column. Weeks are numbered according to the local
week index.
- To use ISO week numbering, use the [ISOWeek](DayPickerBase.md#isoweek) prop.
- To change how the week numbers are displayed, use the [Formatters](../type-aliases/Formatters.md)
prop.
#### Default Value
```ts
false
```
#### See
[ISOWeek](DayPickerBase.md#isoweek) , [weekStartsOn](DayPickerBase.md#weekstartson) and [firstWeekContainsDate](DayPickerBase.md#firstweekcontainsdate).
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`showWeekNumber`](DayPickerBase.md#showweeknumber)
#### Source
[src/types/DayPickerBase.ts:177](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L177)
***
### style?
> `optional` **style**: `CSSProperties`
Style to apply to the container element.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`style`](DayPickerBase.md#style)
#### Source
[src/types/DayPickerBase.ts:67](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L67)
***
### styles
> **styles**: `Partial`\<`Omit` \<[`StyledElement`](../type-aliases/StyledElement.md)\<`CSSProperties`\>, [`InternalModifiersElement`](../type-aliases/InternalModifiersElement.md)\>\>
Change the inline styles of the HTML elements.
#### Overrides
[`DayPickerBase`](DayPickerBase.md) . [`styles`](DayPickerBase.md#styles)
#### Source
[src/contexts/DayPicker/DayPickerContext.tsx:52](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/contexts/DayPicker/DayPickerContext.tsx#L52)
***
### title?
> `optional` **title**: `string`
Add a `title` attribute to the container element.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`title`](DayPickerBase.md#title)
#### Source
[src/types/DayPickerBase.ts:273](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L273)
***
### toDate?
> `optional` **toDate**: `Date`
The latest day to end the month navigation.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`toDate`](DayPickerBase.md#todate)
#### Source
[src/types/DayPickerBase.ts:105](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L105)
***
### toMonth?
> `optional` **toMonth**: `Date`
The latest month to end the month navigation.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`toMonth`](DayPickerBase.md#tomonth)
#### Source
[src/types/DayPickerBase.ts:109](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L109)
***
### toYear?
> `optional` **toYear**: `number`
The latest year to end the month navigation.
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`toYear`](DayPickerBase.md#toyear)
#### Source
[src/types/DayPickerBase.ts:113](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L113)
***
### today
> **today**: `Date`
The today’s date. Default is the current date. This Date will get the
`today` modifier to style the day.
#### Overrides
[`DayPickerBase`](DayPickerBase.md) . [`today`](DayPickerBase.md#today)
#### Source
[src/contexts/DayPicker/DayPickerContext.tsx:53](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/contexts/DayPicker/DayPickerContext.tsx#L53)
***
### weekStartsOn?
> `optional` **weekStartsOn**: `0` \| `2` \| `1` \| `3` \| `4` \| `5` \| `6`
The index of the first day of the week (0 - Sunday). Overrides the locale's
one.
#### See
[ISOWeek](DayPickerBase.md#isoweek) .
#### Inherited from
[`DayPickerBase`](DayPickerBase.md) . [`weekStartsOn`](DayPickerBase.md#weekstartson)
#### Source
[src/types/DayPickerBase.ts:184](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/types/DayPickerBase.ts#L184)
|