From 1f06ecfffe84b9be537f8d13904f6872a8a034e1 Mon Sep 17 00:00:00 2001 From: Pablo Nicolas Ortiz Date: Tue, 30 Jul 2024 17:43:05 -0300 Subject: [PATCH] Made adjustments to SwipeList component --- src/components/molecules/SwipeList/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/molecules/SwipeList/index.tsx b/src/components/molecules/SwipeList/index.tsx index bf43d6e..8dea9a6 100644 --- a/src/components/molecules/SwipeList/index.tsx +++ b/src/components/molecules/SwipeList/index.tsx @@ -6,7 +6,7 @@ import {SwipeUpScrollView} from 'atoms/SwipeUp/childComponents'; import {StyleSheet, View} from 'react-native'; import {verticalScale} from 'scale'; -interface SwipeListProps extends SwipeUpProps, BottomSheetProps { +export interface SwipeListProps extends SwipeUpProps, BottomSheetProps { renderHeader?: () => void; actions?: ButtonProps[]; } @@ -41,7 +41,7 @@ const SwipeList: FC = React.forwardRef( }; return ( - + {isRenderHeaderValid && renderHeader()} {children}