Generic nodes added

This commit is contained in:
Lucas Oliveira 2023-02-14 14:50:18 -03:00
commit 8cdc38a3da
10 changed files with 435 additions and 83 deletions

View file

@ -0,0 +1,19 @@
export default function Input({title, placeholder, onChange}){
return (
<>
<div>
<label className="block text-sm font-medium text-gray-700">
{title}
</label>
<div className="mt-1">
<input
type="text"
className="block w-full form-input rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm"
placeholder={placeholder}
onChange={onChange}
/>
</div>
</div>
</>
);
}