1.0.2 â€ĸ Published 5 years ago

react-native-loop-text v1.0.2

Weekly downloads
6
License
ISC
Repository
github
Last release
5 years ago

react-native-loop-text

React Native component for smooth text animation like Shazam app LoopText

đŸ’ģ Installation

npm i react-native-loop-text --save

📖 Usage

'use strict';

import React  from 'react';
import LoopText from 'react-native-loop-text';

const SomeComponent = () => {
    return (
      <LoopText textArray={["test_1","test_2"]}/>
    );
  }
}

export default SomeComponent;

Feel free to run or check the LoopTextSample project.

ℹī¸ Props

only textArray is Required

ParamsTypeDefaultDescription
textArrayArray-List of text to loop
delayNumber4000Delay to swith text
durationNumber1000Duration of the transition

🤔 How to contribute

Have an idea? Found a bug? Please raise to ISSUES. Contributions are welcome and are greatly appreciated! Every little bit helps, and credit will always be given.