mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-27 01:56:15 -04:00
feat: urlencoder + file in base64
This commit is contained in:
parent
ee4eb30ca2
commit
d9f6c55a79
13 changed files with 260 additions and 21 deletions
|
@ -8,6 +8,11 @@ const copyToClipboard = (text) => {
|
|||
return result;
|
||||
}
|
||||
|
||||
const fileIsImage = (file) => {
|
||||
return file.type.split('/')[0] === 'image';
|
||||
}
|
||||
|
||||
export {
|
||||
copyToClipboard
|
||||
copyToClipboard,
|
||||
fileIsImage
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue