Nextui: cn is not defined
Unanswered
Barbary Lion posted this in #help-forum
Barbary LionOP
I just copied the example code for a slider and it doesn't work. What's cn?
1 Reply
Sun bear
import { clsx, type ClassValue } from "clsx"
import { twMerge } from "tailwind-merge"
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}
https://ui.shadcn.com/docs/installation/manual