Skip to content

kdenz/react-native-progress-view

 
 

Repository files navigation

@react-native-community/react-native-progress-view

Use ProgressViewIOS to render a UIProgressView on iOS. It was part of React Native Core.

Getting started

$ npm install @react-native-community/react-native-progress-view --save

Mostly automatic installation

$ react-native link @react-native-community/react-native-progress-view

Manual installation

iOS

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modules@react-native-community/react-native-progress-view and add RNCProgressView.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNCProgressView.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)<

Usage

import ProgressView from "@react-native-community/react-native-progress-view";

Reference

Props


Reference

Props

progress

The progress value (between 0 and 1).

Type Required
number No

progressImage

A stretchable image to display as the progress bar.

Type Required
Image.propTypes.source No

progressTintColor

The tint color of the progress bar itself.

Type Required
string No

progressViewStyle

The progress bar style.

Type Required
enum('default', 'bar') No

trackImage

A stretchable image to display behind the progress bar.

Type Required
Image.propTypes.source No

trackTintColor

The tint color of the progress bar track.

Type Required
string No

Contributors

License

The library is released under the MIT license. For more information see LICENSE.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 36.5%
  • Objective-C 29.2%
  • Java 21.5%
  • Python 10.0%
  • Ruby 2.8%