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 and actions-user committed Nov 12, 2024
1 parent b1a71f1 commit 8f0c8e0
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 @@ -137,6 +137,9 @@ export const Calendar = ({
renderDayContent,
minDateTime,
maxDateTime,
minutesTestId,
hoursTestId,
doneButtonTestId,
prevMonthButtonTestId,
nextMonthButtonTestId,
monthDropdownTestId,
Expand Down Expand Up @@ -274,6 +277,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 8f0c8e0

Please sign in to comment.