I am working on image upload component in my react app and I design the image uploader component.
Here is the code and the result respectively.
<div className="px-8 py-6 mt-2 text-left bg-white shadow-lg"> <form action=""> <div class="flex items-center justify-center bg-grey-lighter"> <label class=" flex flex-col items-center px-4 py-6 bg-white text-blue rounded-lg shadow-lg tracking-wide uppercase border border-blue cursor-pointer hover:bg-blue hover:text-white"> <AddAPhotoIcon /> <span class="mt-2 text-base leading-normal">Upload Photo</span> <input type="file" class="hidden" /> </label> </div> </form> </div> But I want change it exactly as the following component.

