headplane/app/utils/cn.ts
2025-01-06 08:19:40 +05:30

5 lines
159 B
TypeScript

import { type ClassValue, clsx } from 'clsx';
import { twMerge } from 'tailwind-merge';
export const cn = (...inputs: ClassValue[]) => twMerge(clsx(inputs));