14 lines
325 B
TypeScript
14 lines
325 B
TypeScript
import { clsx, type ClassValue } from "clsx";
|
|
import { twMerge } from "tailwind-merge";
|
|
|
|
/**
|
|
* Executes cn.
|
|
* @param inputs Parameter inputs.
|
|
* @returns unknown.
|
|
*/
|
|
export function cn(...inputs: ClassValue[]) {
|
|
return twMerge(clsx(inputs));
|
|
}
|
|
|
|
import { useIsMobile } from "../hooks/use-mobile";
|
|
export { useIsMobile };
|