Files
2026-08-01 16:07:57 +02:00

13 lines
343 B
TypeScript

import { clsx, type ClassValue } from "clsx";
import { twMerge } from "tailwind-merge";
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}
export function countryCodeToEmoji(code: string): string {
return [...code.toUpperCase()]
.map((c) => String.fromCodePoint(c.charCodeAt(0) + 127397))
.join("");
}