lots of UI changes, and keyboard command support
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
import React from 'react';
|
||||
import { Course } from 'src/shared/types/Course';
|
||||
import { Button } from '../../common/Button/Button';
|
||||
import styles from './CoursePopup.module.scss';
|
||||
|
||||
interface Props {
|
||||
course: Course;
|
||||
onClose: () => void;
|
||||
}
|
||||
|
||||
export default function CoursePopup({ course, onClose }: Props) {
|
||||
return (
|
||||
<div>
|
||||
<h1>{course.fullName}</h1>
|
||||
<p>{course.description}</p>
|
||||
<Button onClick={onClose}>Close</Button>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user