mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-27 01:56:15 -04:00
feat: fixed icons width in sidebar
Signed-off-by: Corentin Thomasset <corentin.thomasset74@gmail.com>
This commit is contained in:
parent
cffbfe3e39
commit
4129169e2b
6 changed files with 149 additions and 13 deletions
|
@ -37,10 +37,16 @@ const debounce = (callback, delay = 300) => {
|
|||
}
|
||||
}
|
||||
|
||||
const randFromArray = (array) => array[Math.floor(Math.random() * array.length)];
|
||||
|
||||
const randIntFromInterval = (min, max) => Math.floor(Math.random() * (max - min) + min)
|
||||
|
||||
export {
|
||||
copyToClipboard,
|
||||
fileIsImage,
|
||||
formatBytes,
|
||||
isInt,
|
||||
debounce
|
||||
debounce,
|
||||
randFromArray,
|
||||
randIntFromInterval
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue