kkemple / react-native-sideswipe

Simple React Native carousel with sensible defaults
MIT License
902 stars 69 forks source link

This is an awesome library, can you guys put some example code here? #31

Open leojiang opened 6 years ago

leojiang commented 6 years ago

If you guys put some demo code here, it'll be helpful for people to learn how to use it. And for react native development, we really appreciate that you guys build such useful components.

kkemple commented 6 years ago

I would love to get some examples in this repo! I have some expo snacks that could be pulled into a create-react-native-app very easily!

Ideally they would live in an examples directory with a new subfolder for each example.

https://snack.expo.io/@kkemple/sideswipe-example https://snack.expo.io/@kkemple/pokedex https://snack.expo.io/@kkemple/spaced-sideswipe

udarts commented 5 years ago

@kkemple I tried your example, the first "sideswipe-example" gives an error: "element type is invalid: expected a string but got: undefined". That has something to do with the Carousel tag.

I use the latest react-native-sideswipe version (1.4.2).

Please help.

kkemple commented 5 years ago

I imagine there are issues with changes to react native, did other examples not work?

forms-kevinlo commented 4 years ago

They are all not working, @kkemple ...