<div class="p-4 flex flex-row justify-center">
<div class="w-full md:w-3/5 mx-auto bg-green-100 text-green-800 font-semibold relative p-3 rounded-md flex flex-row items-start md:items-center justify-between">
<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="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" />
</svg>
<div class="pl-6">
<span>File has been uploaded successfully.</span>
</div>
<a href="javascript:void(0);">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd" />
</svg>
</a>
</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-green-100 text-green-800 font-semibold relative p-3 rounded-md flex flex-row items-start md:items-center justify-between">
<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="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z"
clipRule="evenodd"
/>
</svg>
<div className="pl-6">
<span>File has been uploaded successfully.</span>
</div>
<a href="javascript:void(0);">
<svg
xmlns="http://www.w3.org/2000/svg"
className="h-5 w-5"
viewBox="0 0 20 20"
fill="currentColor"
>
<path
fillRule="evenodd"
d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"
clipRule="evenodd"
/>
</svg>
</a>
</div>
</div>
);
}
export default Alert;