diff --git a/types/react-native-snap-carousel/index.d.ts b/types/react-native-snap-carousel/index.d.ts index ff77486831..7a80378514 100644 --- a/types/react-native-snap-carousel/index.d.ts +++ b/types/react-native-snap-carousel/index.d.ts @@ -82,6 +82,11 @@ export interface CarouselProps extends React.Props { * Animation options to be merged with the default ones. Can be used w/ animationFunc */ animationOptions?: Animated.DecayAnimationConfig | Animated.TimingAnimationConfig | Animated.SpringAnimationConfig; + /** + * Override container's inner padding (needed for slides's centering). + * Warning: be aware that overriding the default value can mess with carousel's behavior. + */ + carouselHorizontalPadding?: number; /** * Optional styles for Scrollview's global wrapper */