React Native: Native Download Button: with pretty cool animation
Java Objective-C JavaScript Python Ruby
Switch branches/tags
Nothing to show
Clone or download
Pranav Raj Singh Chauhan
Pranav Raj Singh Chauhan - updating README
Latest commit 0eed215 Jun 24, 2018

README.md

PRs Welcome

ReactNative: Native Download Button (Android/iOS)

If this project has helped you out, please support us with a star 🌟

This library is ReactNative bridge around native libraries:

Android: fenjuly/ArrowDownloadButton
iOS: elbryan/FFCircularProgressView

πŸ“– Getting started

$ npm install react-native-download-button --save

react-native link react-native-download-button

πŸ’» Usage

import RNDownloadButton from 'react-native-download-button';

// TODO: What to do with the module?
<RNDownloadButton size={300} progress={this.state.progress} reset={this.state.reset} onPress={this._onPress} />

πŸ’‘ Props

Prop Type Default Note
startAnimation bool To start the downloader animation
progress int Set the progress of downloader progress bar
reset bool Reset the downloader to it's inital state
iOS: tintColor string Color for setting tint color
iOS: tickColor string Color for setting tick color
android: backgroundColor string Color for setting background color

|

✨ Credits

πŸ€” 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.

πŸ’« Where is this library used?

If you are using this library in one of your projects, add it in this list below. ✨

πŸ“œ License

This library is provided under the Apache License.

RNDownloadButton @ prscX

πŸ’– Support my projects

I open-source almost everything I can, and I try to reply everyone needing help using these projects. Obviously, this takes time. You can integrate and use these projects in your applications for free! You can even change the source code and redistribute (even resell it).

However, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it:

  • Starring and sharing the projects you like πŸš€

  • If you're feeling especially charitable, please follow prscX on GitHub.

    Buy Me A Coffee

    Thanks! ❀️
    prscX.github.io
    </ Pranav >