mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-27 22:49:20 +08:00
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:
5
types/react-native-snap-carousel/index.d.ts
vendored
5
types/react-native-snap-carousel/index.d.ts
vendored
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user