![]() In order to avoid rendering issues, the carousel will use a ScrollView component rather than a FlatList one for those layouts (see prop useScrollView). ⚠️ You should NOT use stack or tinder layouts if you have a large data set to display.Even though the new layouts have been created with horizontal carousels in mind, they will also work with vertical ones \o/.This has to do with a really annoying Android-specific bug. ![]() As you can see, the effect had to be inverted on Android.You can choose between the three of them using the new prop layout and you can modify the default card offset in the 'stack' and 'tinder' layouts with prop layoutCardOffset. In version 3.6.0, we've added two new layouts on top of the original one: the first one is called 'stack' since it mimics a stack of cards, and the other one is called 'tinder' since it provides a Tinder-like animation. □ Documentation for "Props, methods and getters" Layouts and custom interpolations Built-in layouts Consequently, the list of available props has become really huge and deserves a documentation of its own. In order to let you to create mighty carousels and to keep up with your requests, we add new features on a regular basis. can also find a more in-depth (read "complex") one in the /example folder.Here are simple examples that can be edited in real time in your browser: Import Carousel from 'react-native-snap-carousel' export class M圜arousel extends Component Example We're not abandoning the ship, but we need more people to help us keep it alive and well! If you have enough time and knowledge, and want to become a maintainer, please let us know. However we currently aren't able to give it the love it deserves and the care it requires. We thank you all for your appreciation and for making the most out of it! You've motivated us to spend countless hours improving the plugin, and made us happy to give back to the Open Source community. Don't be shy, share yours if you've done something awesome with it!Ĭreating and maintaining this plugin has been a fun ride that started in 2016. These are live apps we've created that make heavy use of the plugin. ✨ Some great news for you, fellow plugin user! □ Head over there now to learn more about all the goodness that's coming your way. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |