MUI Chip: How to disable overflow/ellipses?
P粉864594965
2023-07-27 18:00:52
<p>When using MUI in React, I want to set a flexible width for the Chip component based on the length of the label. For example, if it is a long label, Chip should have a wider width. If the label is short, the Chip can also have a smaller width. In short, the entire label should be fully visible within the Chip, and there should be no ellipses. </p>
Here's what I've done: