react-component / overflow

📦 Auto collapse box util component
overflow-git-master.react-component.vercel.app
MIT License
51 stars 36 forks source link

feat: add index to renderItem argument #29

Open shanelin7783 opened 2 years ago

shanelin7783 commented 2 years ago

When I need to add a separator between items

ex: item1, item2, item3... restItem

There is no index that can check if an item is the first or not.

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
overflow ✅ Ready (Inspect) Visit Preview Aug 17, 2022 at 9:50AM (UTC)