Skip to content

Commit

Permalink
fix: course popover props interface
Browse files Browse the repository at this point in the history
  • Loading branch information
CadenLee2 committed Jan 11, 2025
1 parent c323679 commit de9fa61
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions site/src/component/CoursePopover/CoursePopover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,16 @@ import './CoursePopover.scss';
import { ExclamationTriangle } from 'react-bootstrap-icons';
import Popover from 'react-bootstrap/Popover';

import { CourseGQLData } from '../../types/types';

interface CoursePopoverProps extends CourseGQLData {
interface CoursePopoverProps {
department: string;
courseNumber: string;
title: string;
minUnits: number;
maxUnits: number;
description: string;
prerequisiteText: string;
corequisites: string;
requiredCourses?: string[];
openPopoverLeft?: boolean;
}

const CoursePopover: FC<CoursePopoverProps> = (props) => {
Expand Down

0 comments on commit de9fa61

Please sign in to comment.