Breadcrumb shows a trailing separator when there is only one item #7120
Labels
good first issue
*** Welcome to PrimeReact Family! *** Good issue!
Type: Bug
Issue contains a defect related to a specific component.
Milestone
Describe the bug
When using the Breadcrumb component in PrimeReact, a trailing separator is displayed even when there is only one item (home).
Reproducer
https://stackblitz.com/edit/wdsfbm?file=src%2FApp.tsx
System Information
Steps to reproduce the behavior
No response
Expected behavior
When there is only one item in the
Breadcrumb
, no separator should be shown.The text was updated successfully, but these errors were encountered: