<div class="p-4 flex flex-row justify-center">
<div class="w-full md:w-3/5 mx-auto bg-red-100 text-red-800 relative p-3 rounded-md flex flex-row items-start">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 inline-block mr-2 absolute top-4 left-2" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z" clip-rule="evenodd" />
</svg>
<div class="pl-6">
<span class="text-red-800 font-semibold">File upload failed. Please try again.</span>
<ul class="text-opacity-70 pl-4 mt-2 list-disc">
<li>The email field is required.</li>
<li>The password field is required.</li>
</ul>
</div>
</div>
</div>
const Alert = () => {
return (
<div className="p-4 flex flex-row justify-center">
<div className="w-full md:w-3/5 mx-auto bg-red-100 text-red-800 relative p-3 rounded-md flex flex-row items-start">
<svg
xmlns="http://www.w3.org/2000/svg"
className="h-5 w-5 inline-block mr-2 absolute top-4 left-2"
viewBox="0 0 20 20"
fill="currentColor"
>
<path
fillRule="evenodd"
d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z"
clipRule="evenodd"
/>
</svg>
<div className="pl-6">
<span className="text-red-800 font-semibold">
File upload failed. Please try again.
</span>
<ul className="text-opacity-70 pl-4 mt-2 list-disc">
<li>The email field is required.</li>
<li>The password field is required.</li>
</ul>
</div>
</div>
</div>
);
}
export default Alert;