UNPKG

nextuiq

Version:

NextUIQ is a modern, lightweight, and developer-friendly UI component library for React and Next.js. Built with TypeScript and Tailwind CSS, it offers customizable, accessible, and performance-optimized components with built-in dark mode, theme customizat

14 lines (11 loc) 326 B
import { clsx } from 'clsx'; import { twMerge } from 'tailwind-merge'; function cn(...inputs) { return twMerge(clsx(inputs)); } const getRelativeTime = (minutes) => { const date = /* @__PURE__ */ new Date(); date.setMinutes(date.getMinutes() - minutes); return date.toISOString(); }; export { cn, getRelativeTime };