diff --git a/src/index.tsx b/src/index.tsx index c3216a1..827c23e 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -28,6 +28,7 @@ export type StaggerProps = React.PropsWithChildren<{ exitDirection?: -1 | 1; duration?: number; style?: ViewStyle; + childWrapperStyle?: ViewStyle; /** * Return the desired animation builder. It can be any of * https://www.reanimated2.com/docs/api/LayoutAnimations/entryAnimations. @@ -59,6 +60,7 @@ export function Stagger({ exitDirection = -1, duration = 400, style, + childWrapperStyle, entering = () => FadeInDown.duration(400), exiting = () => FadeOutDown.duration(400), initialEnteringDelay = 0, @@ -77,6 +79,7 @@ export function Stagger({ return (