✨ (uploadFileButton): use Button component for upload button for consistency
This commit is contained in:
parent
b426148a67
commit
3d1c1b418a
1 changed files with 5 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
import ForwardedIconComponent from "../../../../../../../components/genericIconComponent";
|
import ForwardedIconComponent from "../../../../../../../components/genericIconComponent";
|
||||||
|
import { Button } from "../../../../../../../components/ui/button";
|
||||||
|
|
||||||
const UploadFileButton = ({
|
const UploadFileButton = ({
|
||||||
fileInputRef,
|
fileInputRef,
|
||||||
|
|
@ -13,12 +14,14 @@ const UploadFileButton = ({
|
||||||
style={{ display: "none" }}
|
style={{ display: "none" }}
|
||||||
onChange={handleFileChange}
|
onChange={handleFileChange}
|
||||||
/>
|
/>
|
||||||
<button
|
<Button
|
||||||
className="font-bold text-white transition-all hover:text-muted-foreground"
|
className="font-bold text-white transition-all hover:text-muted-foreground"
|
||||||
onClick={handleButtonClick}
|
onClick={handleButtonClick}
|
||||||
|
variant="none"
|
||||||
|
size="none"
|
||||||
>
|
>
|
||||||
<ForwardedIconComponent name="PaperclipIcon" />
|
<ForwardedIconComponent name="PaperclipIcon" />
|
||||||
</button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue