Link component, Card component, Course Popup component styling, and wrangling with the serialization type"

This commit is contained in:
Sriram Hariharan
2023-03-05 22:52:11 -06:00
parent 6d69cd2548
commit ad8a06d831
10 changed files with 147 additions and 49 deletions

View File

@@ -17,16 +17,12 @@ export default function Popup(props: PropsWithChildren<Props>) {
return (
<div
style={props.style}
className={classNames(
styles.container,
{
[styles.overlay]: props.overlay,
},
props.className
)}
className={classNames(styles.container, {
[styles.overlay]: props.overlay,
})}
data-testid={props.testId}
>
<div className={styles.body}>{props.children}</div>
<div className={classNames(styles.body, props.className)}>{props.children}</div>
</div>
);
}