Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

react-native-download-button

0.0.4 • Public • Published

React Native Download Button: Android/iOS

PRs Welcome

React Native Bridge for Android: fenjuly/ArrowDownloadButton & iOS: elbryan/FFCircularProgressView

Android: fenjuly/ArrowDownloadButton
iOS: elbryan/FFCircularProgressView

Before we dive into on how to use this library. We would like to thank all the contributor of fenjuly/ArrowDownloadButton & elbryan/FFCircularProgressView for providing such a awesome nice, cool library

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

Contribution

Contributions are welcome and are greatly appreciated! Every little bit helps, and credit will always be given.

License

Copyright @2017 Pranav Raj Singh Chauhan

RNDownloadButton is provided under the MIT License.

Other Contributions

awesome-react-native-native-modules
react-native-spruce
react-native-taptargetview & react-native-material-showcase-ios
react-native-bottom-action-sheet
react-native-popover-menu
react-native-tooltips
react-native-shine-button
react-native-iconic
react-native-siri-wave-view
react-native-material-shadows
react-native-gradient-blur-view
react-native-about-libraries
vs-essential-plugins
prettier-pack

Keywords

install

npm i react-native-download-button

Downloadsweekly downloads

7

version

0.0.4

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability