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

utils.ts

7 lines193 Bytes

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