feat: add shared cn utility
This commit is contained in:
parent
1636beb629
commit
15fc93e557
6
app/lib/utils.ts
Normal file
6
app/lib/utils.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