You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the CLI to copy in new components, it's definitely more important for the components to be extensible rather than succinct. But your users might appreciate a utility like this when trying to define their own components.
Edit: this might go better in @kobalte/utils, but the cn function is useful here.
The text was updated successfully, but these errors were encountered:
This is not a PR because I don't know how I would integrate this into your project. But you might find this useful (I put it into my
utils.tsx
file):Usage:
When using the CLI to copy in new components, it's definitely more important for the components to be extensible rather than succinct. But your users might appreciate a utility like this when trying to define their own components.
Edit: this might go better in
@kobalte/utils
, but thecn
function is useful here.The text was updated successfully, but these errors were encountered: