1
0
Files
jecnarozvrh/viewer/lib/utils.ts
jzitnik-dev e9ea35a064
All checks were successful
Remote Deploy / deploy (push) Successful in 36s
feat: Integrate
2026-02-12 18:08:15 +01:00

12 lines
314 B
TypeScript

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