tailwind-variants-docs
tailwind-variants-docs copied to clipboard
Feedback for “API Reference”
Note: Both cn and cnBase are exported for backwards compatibility, but cn is the recommended import name in v3+.
This note doesn't make sense, since the two methods have different signatures. I expected to be able to use cn according to the docs above it, like so:
<View
className={cn('...')}
/>