feat(design-system): scaffold shadcn/ui — components.json + cn() (Sprint 0.5 étape 3)
This commit is contained in:
parent
a1d98bd255
commit
4c4d46d637
2 changed files with 27 additions and 0 deletions
6
src/shared/lib/utils.ts
Normal file
6
src/shared/lib/utils.ts
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import { type ClassValue, clsx } from 'clsx'
|
||||
import { twMerge } from 'tailwind-merge'
|
||||
|
||||
export function cn(...inputs: ClassValue[]) {
|
||||
return twMerge(clsx(inputs))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue