rn-ticker
A simple to use react native ticker.
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
- Fork it (https://github.com/yourname/yourproject/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request