Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

cn.ts

9 lines205 Bytes

1import { clsx } from 'clsx'
2import { twMerge } from 'tailwind-merge'
3import type { ClassValue } from 'clsx'
4​
5function cn(...inputs: Array<ClassValue>) {
6 return twMerge(clsx(inputs))
7}
8​
9export default cn