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
Currently, the result order depends on the argument structure. It should be trivial to add a sort option, which might be helpful, for example, in tests.
The easiest way is to introduce a new helper because it's hard to pass an argument to the current helper, given that we treat all the arguments as input for the helper.
So...
clsx -> no change clsxs -> new helper (s suffix stands for 'sorted') cn -> no change cns -> new alias for clsxs (again, s stands for 'sorted')
The text was updated successfully, but these errors were encountered:
Currently, the result order depends on the argument structure. It should be trivial to add a sort option, which might be helpful, for example, in tests.
The easiest way is to introduce a new helper because it's hard to pass an argument to the current helper, given that we treat all the arguments as input for the helper.
So...
clsx
-> no changeclsxs
-> new helper (s
suffix stands for 'sorted')cn
-> no changecns
-> new alias forclsxs
(again,s
stands for 'sorted')The text was updated successfully, but these errors were encountered: