2323
2424## Changelogs
2525
26- - ** [ 1.6.0-dev] **
27- - ViewPagerAndroid: react-native => @react-native-community/viewpager
28- - add TypeScript typing of containerStyle
29- - [ 1.5.6]
26+ - ** [ 1.6.0-nightly] **
27+ - Dependency
28+ - Remove ViewPagerAndroid, use ScrollView #1009
29+ - TypeScript
30+ - correct the wrong types #1000
31+ - Add missing scrollBy TypeScript definition #931
32+ - New Feature
33+ - add scrollTo #831
34+ - Added prop to disable the PrevButton #749
35+ - Optionally render page #1004
36+ - Bug Fix
37+ - ES6 and CommonJS compatibility #717
38+ - Solves the issue of state messing up when parent component calls setState #939
39+ - replay when autoplay is setted to true #1002
40+
41+ * [ 1.5.6]
3042
3143 - Fix [ #16 ] ( https://github.com/leecade/react-native-swiper/issues/16 ) , [ #36 ] ( https://github.com/leecade/react-native-swiper/issues/36 ) , [ #371 ] ( https://github.com/leecade/react-native-swiper/issues/371 ) , [ #410 ] ( https://github.com/leecade/react-native-swiper/issues/410 ) , [ #411 ] ( https://github.com/leecade/react-native-swiper/issues/411 ) , [ #422 ] ( https://github.com/leecade/react-native-swiper/issues/422 ) , [ #468 ] ( https://github.com/leecade/react-native-swiper/issues/468 ) Fix landscape orientation auto resize! (thanks [ @ahmed3mar ] ( https://github.com/ahmed3mar ) , [ @timmywil ] ( https://github.com/timmywil ) )
3244 - Add containerStyle prop to customize the view container.
3345
34- - [ 1.5.5]
46+ * [ 1.5.5]
3547 - Update: using PropTypes from prop-types and Change View.propTypes to ViewPropTypes
3648
37- * [ 1.5.4]
49+ - [ 1.5.4]
3850
3951 - Added easily accessible pagination point manipulation: use ` dotColor ` / ` activeDotColor ` and ` dotStyle ` / ` activeDotStyle ` (thanks [ @denizs ] ( https://github.com/denizs ) )
4052 - Added scrollEnabled prop to documentation (thanks [ @ibandominguez ] ( https://github.com/ibandominguez ) )
4153
42- * [ 1.5.3]
54+ - [ 1.5.3]
4355
4456 - Add loadMinimalLoader prop to customize ` <ActivityIndicator /> ` (thanks [ @Exilz ] ( https://github.com/Exilz ) )
4557 - Disable autoplay timer when prop changes to false (thanks [ @dizlexik ] ( https://github.com/dizlexik ) )
4658 - Special thanks to [ @hypatiah ] ( https://github.com/dizlexik ) for fixed some grammatical errors in README
4759
48- * [ 1.5.2]
60+ - [ 1.5.2]
4961 - Add yarn lock
5062 - Fix jitter when quickly swiping back and forth between pages (iOS) (thanks [ @nemophrost ] ( https://github.com/nemophrost ) )
5163 - The first webview always reloaded when injecting the rest of the children (thanks [ @eosterberg ] ( https://github.com/eosterberg ) )
100112$ npm i react-native-swiper --save
101113```
102114
103- > v1.6.0-dev
115+ > v1.6.0-nightly
104116
105117```
106- npm i --save react-native-swiper@next
107- # Linking @react-native-community/viewpager
108- react-native link @react-native-community/viewpager
109- # Linking manually: https://github.com/react-native-community/react-native-viewpager#manual-installation
118+ npm i --save react-native-swiper@nightly
110119```
111120
112121### Basic Usage
@@ -159,7 +168,7 @@ const styles = StyleSheet.create({
159168})
160169
161170export default class SwiperComponent extends Component {
162- render (){
171+ render () {
163172 return (
164173 < Swiper style= {styles .wrapper } showsButtons= {true }>
165174 < View style= {styles .slide1 }>
@@ -176,7 +185,7 @@ export default class SwiperComponent extends Component {
176185 }
177186}
178187
179- AppRegistry .registerComponent (' myproject' , () => SwiperComponent);
188+ AppRegistry .registerComponent (' myproject' , () => SwiperComponent)
180189```
181190
182191### Properties
0 commit comments