Skip to content

Commit af47cac

Browse files
Sojan VargheseSojan Varghese
Sojan Varghese
authored and
Sojan Varghese
committed
Added data-cy label for next year button
1 parent 3f4a794 commit af47cac

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)