Kristóf Poduszló
Kristóf Poduszló
When designing reusable components, I prefer not to expose `classNames` as a prop, as it breaks encapsulation and encourages the modification of a finalized design. It would be great if...
Utilities should be sorted inside class name concatenators like: - [classnames](https://github.com/JedWatson/classnames) - [clsx](https://github.com/lukeed/clsx) - [classcat](https://github.com/jorgebucaran/classcat) Thank you for the library, it’s very convenient to use! 😊
Custom colors should be ordered similarly to the ones built-in. Using a semantic palette, my color names start with: `primary`, `secondary`, `neutral`, `danger`, `success`, and they aren’t recognized.
In the following example: ```jsx Hello, world ``` When I run Prettier, the result becomes: ```jsx