refactor: SpecialitySection + TeacherSection (en cours)

This commit is contained in:
N3WT DE COMPET
2025-01-31 15:41:23 +01:00
parent a248898203
commit 72dd7699d6
6 changed files with 75 additions and 50 deletions

View File

@ -1,7 +1,7 @@
export default function InputText({name, type, label, value, onChange, errorMsg, placeholder, className, required}) {
return (
<>
<div className={`mb-4 ${className}`}>
<div className={`${className}`}>
<label htmlFor={name} className="block text-sm font-medium text-gray-700">
{label}
{required && <span className="text-red-500 ml-1">*</span>}