Skip to content

Commit

Permalink
docs: fix compose function (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoban authored Dec 22, 2023
1 parent f6ac08e commit 3790228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/pages/docs/guides/class-name-prop.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3790228

Please sign in to comment.