Exam generation rework, batch user tables, fastapi endpoint switch

This commit is contained in:
Carlos-Mesquita
2024-11-04 23:29:14 +00:00
parent a2bc997e8f
commit 15c9c4d4bd
148 changed files with 11348 additions and 3901 deletions

View File

@@ -0,0 +1,15 @@
interface Props {
label: string;
preview?: React.ReactNode;
}
const ExerciseLabel: React.FC<Props> = ({label, preview}) => {
return (
<div className="flex w-full justify-between items-center mr-4">
<span className="font-semibold">{label}</span>
{preview && <div className="text-sm font-light italic">{preview}</div>}
</div>
);
}
export default ExerciseLabel;