feat : chnage content of Modal product

This commit is contained in:
ali josheghani
2024-06-04 01:28:53 +03:30
parent e64785daf0
commit 18cc4948e6
4 changed files with 54 additions and 12 deletions

View File

@@ -11,9 +11,14 @@ const Input = ({
}: InputProps) => {
return (
<div>
<label htmlFor={id} className="block mb-2 text-sm font-medium text-white">
{label}
</label>
{label && (
<label
htmlFor={id}
className="block mb-2 text-sm font-medium text-white"
>
{label}
</label>
)}
<input
type={type}
name={name}