0.3.2 • Published 4 years ago

react-native-rounded-progress-bar v0.3.2

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

RoundedProgressBar

RoundedProgressBar is a native progress bar made in Kotlin and Swift which is renderized natively for Android and iOS devices.

rounded progress bar

Features

  • Custom colors for background and foreground
  • Custom size for background and foreground
  • Set a different radius
  • Light, there is no dependencies there

Installation

  • $ yarn add react-native-rounded-progress-bar
  • cd ios/ && pod install

Usage

import RoundedProgressBar from "react-native-rounded-progress-bar";

<RoundedProgressBar
  percent={0.75}
  borderWidth={4}
  size={40}
  color="#F02D00"
  bgColor="#DF8BD1"
  backgroundWidth={30}
  progressWidth={30}
  radius={100}
>
  <Text>Loading...</Text>
</RoundedProgressBar>;

Props

NameDescription
percentageDecimal value used for displaying the progress, for example, 0.5 or 0.25
radiusSize of the radius of the circle
progressWidthThe width of the progress bar
backgroundWidthThe width of the background of the progress bar
progressBarColorThe color of the progress bar
backgroundBarColorThe background color of the border
backgroundColorThe inner background color of the component

Author

Domestika

License

MIT

Keywords

react native progress progressbar circle indicator

Happy hacking!