+ | {lecture.id} |
+ {lecture.grade} |
+ {lecture.title} |
+ {lecture.credits} |
+ |
+ |
+
+
+ |
+
+));
+
+LectureRow.displayName = 'LectureRow';
diff --git a/src/components/search/MajorCheckboxList.tsx b/src/components/search/MajorCheckboxList.tsx
new file mode 100644
index 0000000..5e6834e
--- /dev/null
+++ b/src/components/search/MajorCheckboxList.tsx
@@ -0,0 +1,20 @@
+import { memo } from 'react';
+import { Box, Checkbox } from '@chakra-ui/react';
+
+interface Props {
+ majors: string[];
+}
+
+export const MajorCheckboxList = memo(({ majors }: Props) => (
+ <>
+ {majors.map((major) => (
+