feat: fixed icons width in sidebar

Signed-off-by: Corentin Thomasset <corentin.thomasset74@gmail.com>
This commit is contained in:
Corentin Thomasset 2020-06-15 22:06:24 +02:00
parent cffbfe3e39
commit 4129169e2b
6 changed files with 149 additions and 13 deletions

View file

@ -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
}