johanneslumpe / react-native-selectablesectionlistview

A Listview with a sidebar to jump to sections directly
MIT License
253 stars 258 forks source link

Add `isFirst` and `isLast` prop to the Cell component #6

Closed deanc closed 9 years ago

deanc commented 9 years ago

It would be useful to know whether the cell you are rendering is the first or last before a header. The reason for this being if you are recreating normal cell styling (e.g. Contacts iOS app) you have to have a bottom border on all cells, but then that border appears next to the next section header.

johanneslumpe commented 9 years ago

This landed with https://github.com/johanneslumpe/react-native-selectablesectionlistview/commit/aa95e19e1b95265f6b830cc282708928e566b78c