perplexica/ui/lib/utils.ts

5 lines
159 B
TypeScript
Raw Normal View History

2024-04-09 10:51:05 +00:00
import clsx, { ClassValue } from 'clsx';
import { twMerge } from 'tailwind-merge';
export const cn = (...classes: ClassValue[]) => twMerge(clsx(...classes));