Updated UI package to work with the new Shadcn CLI (#59)

Updated UI package to work with the new Shadcn CLI
This commit is contained in:
Giancarlo Buomprisco
2024-09-03 18:17:51 +08:00
committed by GitHub
parent b3b061fc2e
commit fafcafc221
67 changed files with 100 additions and 73 deletions

View File

@@ -0,0 +1,7 @@
import { clsx } from 'clsx';
import type { ClassValue } from 'clsx';
import { twMerge } from 'tailwind-merge';
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}