v2.1.8
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:
See the following examples:
Commits
- feat(#19): refactor custom view, add children instead of renderItem by @RichardRNStudio in #20
Full Changelog: v2.1.4...v2.1.8