GithubHelp home page GithubHelp logo

mudassirraza912 / react-native-image-slider-banner Goto Github PK

View Code? Open in Web Editor NEW
26.0 3.0 25.0 8.04 MB

A simple and fully customizable React Native Component that implements Image and Banner Slider UI with animations.

Home Page: https://www.npmjs.com/package/react-native-image-slider-banner

License: MIT License

TypeScript 100.00%
react-native ios android component react-native-image-slider-banner react-native-image-slider

react-native-image-slider-banner's Issues

Image scaling

Hello. Help me, please. How can I implement image scaling using a pinch gesture? I can't understand how it can be done.

We should have option to change the key on data array.

Greetings,
First of all, I would like to appreciate your contribution to the open-source community. I want you to add an option to change the obj key for ex. (img) to (image or etc).

Problem:
let's say I fetch an API that gives me the key filepath instead of img. In this case, I map all obj and change the key or I go to node_modules to change the key.

Solution:
Dev should have the option to change the key by passing props or any other way.

Thank you :)

Auto play and indicator not working

image
<ImageSlider
data={[
{
img: "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ5a5uCP-n4teeW2SApcIqUrcQApev8ZVCJkA&usqp=CAU",
},
{
img: "https://thumbs.dreamstime.com/b/environment-earth-day-hands-trees-growing-seedlings-bokeh-green-background-female-hand-holding-tree-nature-field-gra-130247647.jpg",
},
{
img: "https://cdn.pixabay.com/photo/2015/04/19/08/32/marguerite-729510__340.jpg",
},
]}
autoPlay={true}
onItemChanged={(item) => console.log("item", item)}
closeIconColor="#fff"
/>

OnItemChanged

Hi,
OnItemChanged method is not returning index, What's the issue?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.