teableio/teable

View on GitHub
packages/ui-lib/src/shadcn/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));
}