Avatar groups should only display the n overflow element when n>1, otherwise use the space to display the final item #31233
Labels
help wanted
The suggestion or request has been accepted, we need you to help us by sending a pull request.
Inactive
What problem does this feature solve?
Avatar groups should only display the n overflow element when n>1, otherwise use the space to display the final item. The current behavior is to display a number of item specified by maxCount, plus an additional item with the n value when the number of children exceeds max count.
What does the proposed API look like?
Not sure how to express this idea concisely in the prop name, but backwards compatibility could be maintained by adding a boolean prop to determine whether to follow a new pattern in which the final item is either put in the max position if it is the last item, or that position is used to display the count of remaining items
Current behavior is like
Props would look like this:
The text was updated successfully, but these errors were encountered: