Initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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("");
|
||||
}
|
||||
Reference in New Issue
Block a user