react-native-ui-kitten icon indicating copy to clipboard operation
react-native-ui-kitten copied to clipboard

Adjust animation duration of ViewPager

Open MagnusHopland opened this issue 2 years ago • 0 comments

🚀 Feature Proposal

Adjusting the animation duration of the ViewPager change index animation as a prop.

Motivation

For my app the 300ms feels a bit laggy and slow, if i could adjust it with a prop i could customize the ViewPager to fit my app better.

Example

<ViewPager
     duration={150}
>
    {children}
</ViewPager>

MagnusHopland avatar Aug 04 '22 11:08 MagnusHopland