v2.1.13
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
- fix(#22): fix custom render, fix related examples by @RichardRNStudio in #23
Full Changelog: v2.1.8...v2.1.13