mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-29 00:18:20 +08:00
Update react-native-snap-carousel to v2.1.2
A new property `carouselHorizontalPadding ` was introduced in version 2.1.2. https://github.com/archriss/react-native-snap-carousel/blob/master/CHANGELOG.md#v212
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