Created
June 27, 2024 20:42
-
-
Save ahafidi/658defae851678471a9902a8396590ab to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @lib/utils.ts | |
import { twMerge } from 'tailwind-merge' | |
import { clsx, ClassValue } from 'clsx' | |
export function cn(...inputs: ClassValue[]) { | |
return twMerge(clsx(inputs)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment