-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
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')
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers