Skip to content

Commit

Permalink
fix: fix default timeConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
gxxgcn committed Oct 31, 2021
1 parent 14b62ee commit 0f99500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Carousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { useAutoPlay } from './useAutoPlay';
import { useIndexController } from './useIndexController';

const defaultSpringConfig: Animated.WithSpringConfig = {
damping: 40,
damping: 100,
};
export interface ICarouselProps<T extends unknown> {
ref?: React.Ref<ICarouselInstance>;
Expand Down

0 comments on commit 0f99500

Please sign in to comment.