-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Container element should be configurable #24
Comments
I took a look at react-swiper, but I'm having trouble contemplating a use case where this is actually useful. |
In my case, I had a list of |
@nuthinking You can wrap content of your li into swipeable. |
@hartzis I believe what @nuthinking stated is a valid use case, where we should allow the user to configure the element so they can rely on existing css if the want to, instead of changing the css in fuction of this always present div. Not a big deal for many, but a huge one for others. |
This seems reasonable, as long as the default stays 'div'. |
+1 This is how |
Added |
react-swiper had tagName for instance. I am pretty new to React I could implement it in the .js, not sure how to do it in the ,jsx
The text was updated successfully, but these errors were encountered: