Skip to content

Commit

Permalink
fix(Calendar): fixed props passing with id for testing from Calendar …
Browse files Browse the repository at this point in the history
…to CalendarTime (#7928)
  • Loading branch information
EldarMuhamethanov authored Nov 12, 2024
1 parent deb7dd4 commit 75f5a11
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/vkui/src/components/Calendar/Calendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ export const Calendar = ({
renderDayContent,
minDateTime,
maxDateTime,
minutesTestId,
hoursTestId,
doneButtonTestId,
prevMonthButtonTestId,
nextMonthButtonTestId,
monthDropdownTestId,
Expand Down Expand Up @@ -273,6 +276,9 @@ export const Calendar = ({
changeHoursLabel={changeHoursLabel}
changeMinutesLabel={changeMinutesLabel}
isDayDisabled={minDateTime || maxDateTime ? isDayDisabled : undefined}
minutesTestId={minutesTestId}
hoursTestId={hoursTestId}
doneButtonTestId={doneButtonTestId}
/>
</div>
)}
Expand Down

0 comments on commit 75f5a11

Please sign in to comment.