1.0.0 • Published 3 years ago

react-native-awesome-progress v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

react-native-awesome-progress

Getting started

$ npm install react-native-awesome-progress --save

Usage

import Progress from "react-native-awesome-progress";

<Progress value={25} height={24} progressStyle={{ borderRadius: 24 }} />;

Properties

PropDescriptionDefaultType
valueCurrent value of the progress0integer
heightHeight of progress, only in type 'horizontal'24integer
typeType of progress"horizontal"["horizontal", "vertical", "circular"]
progressStyleStyle of main progress indicatornullViewStyle
innerStyleStyle of background of indicatornullViewStyle
containerStyleStyle of whole containernullViewStyle
mapMap a input value to another value{min: 0, max: 100}object:{min: integer, max: integer}