Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 411 Bytes

MIGRATION.md

File metadata and controls

13 lines (11 loc) · 411 Bytes

Migration Guide

5.0.x -> 5.1.x

Before:

import ViewPager from '@react-native-community/viewpager'
import type { ViewPagerOnPageScrollEventData,ViewPagerOnPageSelectedEventData } from '@react-native-community/viewpager';

After:

import PagerView from 'react-native-pager-view';
import type { PagerViewOnPageScrollEventData, PagerViewOnPageSelectedEventData } from 'react-native-pager-view';