Replies: 1 comment 2 replies
-
Hey @tordans! 👋 I don't have access to Catalyst, so I don't know what type errors you mean exactly. In case you mean the object syntax that I think there wouldn't be a lot of benefit in adding a Generally it's not an issue at all to use |
Beta Was this translation helpful? Give feedback.
-
Catalyst released as a dev preview https://tailwindcss.com/blog/introducing-catalyst.
They are using
clsx
.I tried renaming all the usage to
twJoin
but that fails with some TS errors.It would be awesome, if there where a drop in replacement for
clsx
using twJoin.Maybe something like
"import { twJoinClsxWrapper as clsx } from 'tailwind-merge'
?Beta Was this translation helpful? Give feedback.
All reactions