React Native Slider Intro Versions Save

A simple and full customizable React Native package which implements a unique slider.

v2.1.14

1 month ago

What's Changed

There is a new property of the package: limitToSlide. Use to change the limit of the slide animation. It is calculated based on the PanResponder's gestureState.dx property.

Commits

Full Changelog: https://github.com/RichardRNStudio/react-native-slider-intro/compare/v2.1.13...v2.1.14

v2.1.13

1 month ago

What's Changed

The custom view/render has been fixed, there was a bug in the implementation which caused app crashes.

  • fix custom render crash
  • fix the related examples: CustomRenderFunctionExample & UsingThirdPartyLibrariesExample

Please be aware: Possibly, you need to use the following wrapper for each slides when you're using the custom render to make sure, the slide's width is matching with the device's width.

<View style={{ width: Dimensions.get('window').width }} key={index}>{YOUR ITEM}</View>

Example:

<SliderIntro numberOfSlides={slides.length}>
  {slides.map((item, index) => {
     return (
       <View style={{ width: Dimensions.get('window').width }} key={index}>
         {YOUR_SLIDE}
       </View>
     )
  })}
</SliderIntro>

Commits

Full Changelog: https://github.com/RichardRNStudio/react-native-slider-intro/compare/v2.1.8...v2.1.13

v2.1.8

1 month ago

What's Changed

The custom view/render has been refactored. The renderItem prop has been removed. New params: children, numberOfSlides.

There are two render options in the package. The default render renders the slides with the default render in the application. However the custom render uses the children prop to render slides. In this case the data param is not required, but you need to add the number of slides with numberOfSlides.

The following interfaces can be imported from the package:

  1. ISliderIntro
  2. ISliderIntroItem

See the following examples:

Commits

Full Changelog: https://github.com/RichardRNStudio/react-native-slider-intro/compare/v2.1.4...v2.1.8

v2.1.4

1 month ago

What's Changed

Full Changelog: https://github.com/RichardRNStudio/react-native-slider-intro/compare/v2.1.1...v2.1.4

v2.1.1

2 months ago

What's Changed

Full Changelog: https://github.com/RichardRNStudio/react-native-slider-intro/compare/v2.0.1...v2.1.1

v2.0.1

2 months ago
  • Introduce TypeScript
  • Update all of packages including react-native to 0.73.6

v1.0.21

3 years ago

1.0.21 (2021-03-01)

v1.0.20

3 years ago

1.0.20 (2021-03-01)

  • Add another example for how to customize the renderItem function with third party libraries.

v1.0.19

3 years ago

1.0.19 (2021-03-01)

v1.0.18

3 years ago

1.0.18 (2021-02-20)