frontend/app/lib/utils.ts
Nathan Lamy 938ed8a4df
Some checks failed
Deploy to Netlify / Deploy to Netlify (push) Failing after 1m10s
ui: add register page
2025-07-28 23:29:27 +02:00

10 lines
286 B
TypeScript

import { type ClassValue, clsx } from "clsx";
import { twMerge } from "tailwind-merge";
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}
export function capitalizeFirstLetter(str: string): string {
return str.charAt(0).toUpperCase() + str.slice(1);
}