@codinggist/rn-progress
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

rn-progress

A progress indicator component for React Native (both Android and iOS)

Installation

Install component by running following command

npm i @codinggist/rn-progress
or
yarn add @codinggist/rn-progress

This componnet is based on React Native basic components. So, linking is not required.

Usage

import { ProgressBar } from "rn-progress";

// ...

<ProgressBar width={'80%'} height={'20'} />

Props

Following are props to use this component

Prop Type Description
width number | string Width of ProgressBar in numbers or percentage
height number | string Height of ProgressBar in numbers or percentage
strokeWidth number Width of outer border or stroke
strokeColor string Stroke color
color string Color of Progressbar
startValue number Starting value of progress
maxValue number Maximum value of progress
currentValue number Current value of progress (can be set using states). If current value is less than start value, it will be neglected and start value will be used as current value.
backgroundColor string Background color for bar

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Note: This package is under development. Contributors are welcome to work on this package.

Dependencies (0)

    Dev Dependencies (19)

    Package Sidebar

    Install

    npm i @codinggist/rn-progress

    Weekly Downloads

    2

    Version

    0.0.5

    License

    MIT

    Unpacked Size

    24.3 kB

    Total Files

    38

    Last publish

    Collaborators

    • mafaqriaz
    • afaq-rns