(uploadFileButton): use Button component for upload button for consistency

This commit is contained in:
cristhianzl 2024-06-06 11:58:52 -03:00
commit 3d1c1b418a

View file

@ -1,4 +1,5 @@
import ForwardedIconComponent from "../../../../../../../components/genericIconComponent";
import { Button } from "../../../../../../../components/ui/button";
const UploadFileButton = ({
fileInputRef,
@ -13,12 +14,14 @@ const UploadFileButton = ({
style={{ display: "none" }}
onChange={handleFileChange}
/>
<button
<Button
className="font-bold text-white transition-all hover:text-muted-foreground"
onClick={handleButtonClick}
variant="none"
size="none"
>
<ForwardedIconComponent name="PaperclipIcon" />
</button>
</Button>
</div>
);
};