GithubHelp home page GithubHelp logo

Comments (2)

Osamasomy avatar Osamasomy commented on July 17, 2024

I face exactly the same problem but I solved it like this

import * as React from 'react';
import { Text, View, StyleSheet, Image } from 'react-native';
import Marquee from 'react-native-marquee';


export default function App() {
  return (
    <View style={styles.container}>
      <Marquee
          duration={3000}
          marqueeOnStart
          loop
          marqueeDelay={1000}
          marqueeResetDelay={1000}
          useNativeDriver = {true}
      >
      <View style={{flexDirection: 'row'}}>
      <Image source = {{uri: "https://st3.depositphotos.com/5040187/18607/v/600/depositphotos_186071614-stock-illustration-blue-swoosh-global-digital-business.jpg"}} style={{height: 200, width: 200}} />
      <Image source = {{uri: "https://cdn.vox-cdn.com/thumbor/QZSegJgac0piIS8Rt8yzD9TI4oc=/267x177:1277x706/fit-in/1200x630/cdn.vox-cdn.com/uploads/chorus_asset/file/15980359/MV5BMTg3NzQ0MjgzMV5BMl5BanBnXkFtZTgwNDY0Nzg2NzM_._V1_SY1000_CR0_0_1553_1000_AL_.jpg"}} style={{height: 200, width: 200}} />
      <Image source = {{uri: "https://res.cloudinary.com/teepublic/image/private/s--oahwkUbQ--/t_Resized%20Artwork/c_fit,g_north_west,h_954,w_954/co_000000,e_outline:48/co_000000,e_outline:inner_fill:48/co_ffffff,e_outline:48/co_ffffff,e_outline:inner_fill:48/co_bbbbbb,e_outline:3:1000/c_mpad,g_center,h_1260,w_1260/b_rgb:eeeeee/c_limit,f_auto,h_630,q_90,w_630/v1554184746/production/designs/4555538_0.jpg"}} style={{height: 200, width: 200}} />
      </View>
      </Marquee>
      
    </View>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: 'center',
    backgroundColor: '#ecf0f1',
    padding: 8,
  },
  
});

from react-native-marquee.

kyo504 avatar kyo504 commented on July 17, 2024

I've not thought of it when I started working on this. Please let me know if there is a use case, then I'll consider supporting it.

from react-native-marquee.

Related Issues (10)

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.