belgattitude/httpx

View on GitHub
examples/nextjs-app/src/components/utils.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { type ClassValue, clsx } from 'clsx';
import { twMerge } from 'tailwind-merge';

export function cn(...inputs: ClassValue[]) {
  return twMerge(clsx(inputs));
}