Merge pull request #16438 from jnbt/react-native-snap-carousel-v212

Update react-native-snap-carousel to v2.1.2
This commit is contained in:
Arthur Ozga
2017-05-19 16:46:04 -07:00
committed by GitHub

View File

@@ -82,6 +82,11 @@ export interface CarouselProps extends React.Props<ScrollViewProperties> {
* 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
*/