Skip to content

storerjeremy/react-native-simple-gauge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-simple-gauge

Gauge progress module for React Native

Based on react-native-circular-progress

image

Requirement

RN 0.45+

RN <= 0.44 supported by 0.1.2

Install

  1. npm i --save react-native-simple-gauge
  2. Link the ART library to your ReactNative project (how to link a library). You'll find the React ART library in node_modules/react-native/Libraries/ART/ART.xcodeproj

Usage

import { AnimatedGaugeProgress, GaugeProgress } from 'react-native-simple-gauge';
<AnimatedGaugeProgress
  size={200}
  width={15}
  fill={100}
  rotation={90}
  cropDegree={90}
  tintColor="#4682b4"
  backgroundColor="#b0c4de"
  strokeCap="circle" />

Use cropDegree to vary the size of arc

License

MIT

About

Gauge progress module for React Native (iOS and Android)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 49.5%
  • Objective-C 29.9%
  • Python 11.7%
  • Java 8.9%