this repo has no description
at main 10 lines 247 B view raw
1import { type ClassValue, clsx } from "clsx"; 2import { twMerge } from "tailwind-merge"; 3 4export function cn(...inputs: ClassValue[]) { 5 return twMerge(clsx(inputs)); 6} 7 8export function getInitials(name: string) { 9 return name.match(/[A-Z]/g); 10}