JSPM

react-native-progressbar

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q48297F
  • License MIT

react-native-progressbar

Package Exports

  • react-native-progressbar

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-progressbar) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

npm react-native MIT bitHound Score Downloads

ProgressBae for React Native.

Support me with a Follow

Getting Started

iOS and Android

  • ####npm

npm install react-native-progressbar

  • ####yarn

yarn add react-native-progressbar

Basic Usage

Import library

import Progress from 'react-native-progressbar';
this.refs.progress.show();	//显示进度条。

this.refs.progress.changeProgress(per);	//改变进度条进度。per:当前进度所占百分比

this.refs.progress.finish();	//进度条完成,并隐藏。

render() {
       return (
           <Progress ref={'progress'} title={'正在下载'}/>
       );
 }

Params

Key Type Default Description
title string '进度' 提示文字。

Contribution

Questions

Feel free to contact me or create an issue

made with ♥