File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import React , { useRef , useState } from 'react' ;
22import { FileUploadService } from '../../services/file-upload-service' ;
33import { SettingsService } from '../../services/settings-service' ;
4+ import { Paperclip } from 'lucide-react' ;
45
56interface FileUploadButtonProps {
67 onFilesSelected : ( files : File [ ] ) => void ;
@@ -63,13 +64,7 @@ const FileUploadButton: React.FC<FileUploadButtonProps> = ({
6364 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"
6465 title = "Upload file"
6566 >
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 } />
7368 </ button >
7469 < input
7570 ref = { fileInputRef }
You can’t perform that action at this time.
0 commit comments