Created
August 2, 2023 19:17
Revisions
-
MantasMikal revised this gist
Aug 2, 2023 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { clsx, ClassValue } from "clsx"; /** * Inteligently merge tw classess with clsx concatination **/ export function cn(...inputs: ClassValue[]) { return twMerge(clsx(inputs)); } -
MantasMikal created this gist
Aug 2, 2023 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ import { twMerge } from "tailwind-merge"; import { clsx, ClassValue } from "clsx"; /** * Inteligently merge tw classess with clsx concatination **/ export function cn(...inputs: ClassValue[]) { return twMerge(clsx(inputs)); }