File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ declare function useDay({
3030 isSelectedStartOrEnd : boolean
3131 isWithinHoverRange : boolean
3232 disabledDate : boolean
33- onKeyDown : ( e : KeyboardEvent < HTMLButtonElement > ) => void
33+ onKeyDown : ( e : React . KeyboardEvent < HTMLButtonElement > ) => void
3434 onClick : ( ) => void
3535 onMouseEnter : ( ) => void
3636}
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ function useDay({
4444 isSelectedStartOrEnd : isFirstOrLastSelectedDate ( date ) ,
4545 isWithinHoverRange : isDateHovered ( date ) ,
4646 disabledDate : disabled ,
47- onKeyDown : ( e : KeyboardEvent < HTMLButtonElement > ) => {
47+ onKeyDown : ( e : React . KeyboardEvent < HTMLButtonElement > ) => {
4848 if ( e . key === 'ArrowRight' ) {
4949 onDateFocus ( addDays ( date , 1 ) )
5050 } else if ( e . key === 'ArrowLeft' ) {
You can’t perform that action at this time.
0 commit comments