diff --git a/src/app/course/[courseName]/calendar/CalendarMonth.tsx b/src/app/course/[courseName]/calendar/CalendarMonth.tsx index 299eca8..e2e08da 100644 --- a/src/app/course/[courseName]/calendar/CalendarMonth.tsx +++ b/src/app/course/[courseName]/calendar/CalendarMonth.tsx @@ -5,6 +5,8 @@ import { Expandable } from "@/components/Expandable"; import { CalendarWeek } from "./CalendarWeek"; import { useLocalCourseSettingsQuery } from "@/hooks/localCourse/localCoursesHooks"; import { getDateFromStringOrThrow } from "@/models/local/utils/timeUtils"; +import UpChevron from "@/components/icons/UpChevron"; +import DownChevron from "@/components/icons/DownChevron"; export const CalendarMonth = ({ month }: { month: CalendarMonthModel }) => { // const weekInMilliseconds = 604_800_000; @@ -36,17 +38,19 @@ export const CalendarMonth = ({ month }: { month: CalendarMonthModel }) => { <> ( + ExpandableElement={({ setIsExpanded, isExpanded }) => (

setIsExpanded((e) => !e)} role="button" > {monthName} +
{isExpanded ? : }

)}