add: new list layout design

New design, custom uuid, better handling of swipe
This commit is contained in:
Fiona Lena Urban 2025-05-10 13:32:28 +02:00
parent 628659c39d
commit 11bcdce6cb
7 changed files with 21 additions and 36 deletions

View file

@ -1,3 +1,5 @@
export const replaceComma = (value: string | number) => `${value}`.replace(',', '.')
export const clamp = (value: number, min: number, max: number) => Math.min(Math.max(value, min), max)
export const clamp = (value: number, min: number, max: number) => Math.min(Math.max(value, min), max)
export const between = (value: number, min: number, max: number) => value >= min && value <= max