frondend/components/utils.ts

6 lines
163 B
TypeScript
Raw Normal View History

2024-10-05 15:04:17 +08:00
import { ClassValue, clsx } from 'clsx';
import { twMerge } from 'tailwind-merge';
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}