Files
tonePage/apps/frontend/lib/utils.ts
2025-12-12 17:25:26 +08:00

9 lines
288 B
TypeScript

import { clsx, type ClassValue } from "clsx"
import { twMerge } from "tailwind-merge"
import basex from "base-x"
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}
export const base62 = basex('0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ');