Skip to content

gabrieldonadel/rn-ticker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rn-ticker

A simple to use react native ticker.

npm package npm downloads

Install

yarn add react-native-ticker
npm install react-native-ticker

How to use

  <Ticker
    repetitions={15}
    number={100}
    textStyle={{ lineHeight: 20 }}
    auxiliarText={'days have passed '}
  />

API

Ticker

Properties Descrition Type Default
number limits the maximum number of characters that can be entered number 0
textStyle custom style to text Object -
auxiliarText custom style to text string -
repetitions number of iteractions until reaching the number prop number 0

Contributing

  1. Fork it (https://github.com/yourname/yourproject/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request