mergeProps: support custom className merging
Open
scope: all components
type: new feature
- Dominant language
- TypeScript
- Stars
- 10.9k
- Forks
- 543
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 101
Description
# Feature request
## Summary
Right now `mergeProps` just concatenates classNames.
Tailwind users often use `tailwind-merge` or similar to intelligently merge tailwind classnames, which do not work on "left-to-right" precedence order.
It would be advantageous to be able to create a custom version of mergeProps that uses a provided className merging strategy.
## Motivation
Increased ergonomics w/ Tailwind
Contributor guide
Assessment
This issue has not been assessed yet.