Skip to content

Commit 4ffaae9

Browse files
sojanvargheseSojan Varghese
and
Sojan Varghese
authored
Added data-cy label for next year button (#11)
Co-authored-by: Sojan Varghese <[email protected]>
1 parent 3f4a794 commit 4ffaae9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/PickerPanel/PanelHeader.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ function PanelHeader<DateType extends object>(props: HeaderProps<DateType>) {
153153
<button
154154
type="button"
155155
aria-label="next-year"
156+
data-cy="next-year-button"
156157
onClick={() => onOffset(1)}
157158
tabIndex={-1}
158159
className={classNames(nextBtnCls, disabledOffsetNext && `${nextBtnCls}-disabled`)}

0 commit comments

Comments
 (0)