File tree 1 file changed +2
-7
lines changed
1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 1
1
import React , { useRef , useState } from 'react' ;
2
2
import { FileUploadService } from '../../services/file-upload-service' ;
3
3
import { SettingsService } from '../../services/settings-service' ;
4
+ import { Paperclip } from 'lucide-react' ;
4
5
5
6
interface FileUploadButtonProps {
6
7
onFilesSelected : ( files : File [ ] ) => void ;
@@ -63,13 +64,7 @@ const FileUploadButton: React.FC<FileUploadButtonProps> = ({
63
64
className = "flex items-center justify-center w-8 h-8 text-gray-500 rounded-full hover:text-gray-700 hover:bg-gray-100 focus:outline-none"
64
65
title = "Upload file"
65
66
>
66
- < svg xmlns = "http://www.w3.org/2000/svg" viewBox = "0 0 20 20" fill = "currentColor" className = "w-5 h-5" >
67
- < path
68
- fillRule = "evenodd"
69
- d = "M5.5 17a4.5 4.5 0 01-1.44-8.765 4.5 4.5 0 018.302-3.046 3.5 3.5 0 014.504 4.272A4 4 0 0115 17H5.5zm3.75-2.75a.75.75 0 001.5 0V9.66l1.95 2.1a.75.75 0 101.1-1.02l-3.25-3.5a.75.75 0 00-1.1 0l-3.25 3.5a.75.75 0 101.1 1.02l1.95-2.1v4.59z"
70
- clipRule = "evenodd"
71
- />
72
- </ svg >
67
+ < Paperclip size = { 20 } />
73
68
</ button >
74
69
< input
75
70
ref = { fileInputRef }
You can’t perform that action at this time.
0 commit comments