0.0.2 • Published 4 years ago

rn-ticker v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

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

PropertiesDescritionTypeDefault
numberlimits the maximum number of characters that can be enterednumber0
textStylecustom style to textObject-
auxiliarTextcustom style to textstring-
repetitionsnumber of iteractions until reaching the number propnumber0

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