feat(ui): added c-select in the ui lib (#550)

* feat(ui): added c-select in the ui lib

* refactor(ui): switched n-select to c-select
This commit is contained in:
Corentin THOMASSET authored and GitHub committed 2023-08-07 15:30:00 +00:00
1 parent 6498c9b0fa
commit dfa1ba8554
29 files changed
+666 -199

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
function clamp({ value, min = 0, max = 100 }: { value: number; min?: number; max?: number }) {
return Math.min(Math.max(value, min), max);
}
export { clamp };