diff --git a/README.md b/README.md index e0a8d12..5da8875 100644 --- a/README.md +++ b/README.md @@ -125,6 +125,7 @@ It's possible to use the `Flatlist` component instead ([Example](#render-with-fl | separatorInsetLeft | `15` | `number` | Left inset of separator | | separatorInsetRight | `0` | `number` | Right inset of separator | | separatorTintColor | `#C8C7CC` | `string` | Color of separator | +| separatorBackgroundColor | `#FFF` | `string` | Background color of separator | | withSafeAreaView | `true / false (on iOS <= 10)` | `bool` | Render section header and footer with SafeAreaView | ### `Cell` diff --git a/src/components/Section.tsx b/src/components/Section.tsx index 5ddbef8..0def670 100644 --- a/src/components/Section.tsx +++ b/src/components/Section.tsx @@ -56,6 +56,7 @@ const Section: React.FC = ({ separatorInsetLeft = 15, separatorInsetRight = 0, separatorTintColor, + separatorBackgroundColor, withSafeAreaView = Platform.OS === 'ios' ? parseInt(`${Platform.Version}`, 10) <= 10 ? false @@ -156,7 +157,7 @@ const Section: React.FC = ({ {React.cloneElement(child, propsToAdd)}