From 7add7ba00189dc408d740e9017041725f36ad9bd Mon Sep 17 00:00:00 2001 From: azim Date: Tue, 26 Nov 2024 15:03:25 +0500 Subject: [PATCH] chore: add contentContainerStyle prop --- example/ios/Podfile.lock | 4 ++-- src/Shadowlist.tsx | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 3d0b7ae..6dd56ef 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1497,7 +1497,7 @@ PODS: - React-logger (= 0.75.4) - React-perflogger (= 0.75.4) - React-utils (= 0.75.4) - - shadowlist (0.4.7): + - shadowlist (0.4.8): - DoubleConversion - glog - hermes-engine @@ -1783,7 +1783,7 @@ SPEC CHECKSUMS: React-utils: cbe8b8b3d7b2ac282e018e46f0e7b25cdc87c5a0 ReactCodegen: 4bcb34e6b5ebf6eef5cee34f55aa39991ea1c1f1 ReactCommon: 6a952e50c2a4b694731d7682aaa6c79bc156e4ad - shadowlist: 61975db3e11eed4f37c4e8a67921331206488f7f + shadowlist: c2e677246b45061b8b2c2982f26d728c7d1f5390 SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d Yoga: 055f92ad73f8c8600a93f0e25ac0b2344c3b07e6 diff --git a/src/Shadowlist.tsx b/src/Shadowlist.tsx index bcde09f..1b89509 100644 --- a/src/Shadowlist.tsx +++ b/src/Shadowlist.tsx @@ -104,7 +104,11 @@ export const Shadowlist = React.forwardRef( }, [props.data, props.renderItem, props.keyExtractor]); return ( - + {!props.inverted ? ListHeaderComponent : ListFooterComponent} {props.data.length ? ListChildrenComponent : ListEmptyComponent} {!props.inverted ? ListFooterComponent : ListHeaderComponent}