mirror of
https://github.com/pheralb/svgl.git
synced 2025-03-12 16:10:34 +08:00
🔧 Create shadcn `cn
` helper.
This commit is contained in:
parent
b815018a70
commit
ff26de5baf
6
src/utils/cn.ts
Normal file
6
src/utils/cn.ts
Normal file
@ -0,0 +1,6 @@
|
||||
import { clsx, type ClassValue } from 'clsx';
|
||||
import { twMerge } from 'tailwind-merge';
|
||||
|
||||
export function cn(...inputs: ClassValue[]) {
|
||||
return twMerge(clsx(inputs));
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user