From 3790228fe61b33b0b89225f1554a23138eab622d Mon Sep 17 00:00:00 2001 From: Stephen Zhou Date: Fri, 22 Dec 2023 21:10:30 +0800 Subject: [PATCH] docs: fix compose function (#9) --- website/pages/docs/guides/class-name-prop.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/pages/docs/guides/class-name-prop.mdx b/website/pages/docs/guides/class-name-prop.mdx index a45319c..4c1bcd0 100644 --- a/website/pages/docs/guides/class-name-prop.mdx +++ b/website/pages/docs/guides/class-name-prop.mdx @@ -39,7 +39,7 @@ export function cn(...inputs: ClassValue[]) { } // We named it `twx` to have better autocompletion -export const twx = createTwc({ compose: twMerge }); +export const twx = createTwc({ compose: cn }); ``` ```tsx filename="card.tsx"