Socket
Socket
Sign inDemoInstall

react-native-progress-bar-horizontal

Package Overview
Dependencies
514
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-native-progress-bar-horizontal

Simple, JavaScript only, horizontal progress bar


Version published
Weekly downloads
212
increased by27.71%
Maintainers
1
Install size
31.7 kB
Created
Weekly downloads
 

Changelog

Source

1.0.1 (2022-03-06)

Bug Fixes

  • props formatting issue in README.md (e97fc1a)

chore

  • adjust config for @release-it/conventional-changelog (83111fb)

Features

  • created HorizontalProgressBar component (ae24cf1)

BREAKING CHANGES

  • First release

Readme

Source

version MIT

react-native-progress-bar-horizontal

Simple, JavaScript only, horizontal progress bar.

Installation

npm install react-native-progress-bar-horizontal

Usage

import ProgressBar from 'react-native-progress-bar-horizontal';

// Provide progress value
<ProgressBar progress={0.5} />

// Change default look
<ProgressBar
  progress={0.3}
  borderWidth={1}
  fillColor="#4C2C2E"
  unfilledColor="#AF9995"
  height={10}
  borderColor="#4C2C2E"
  duration={100}
/>

Props

PropTypeDescriptionDefault
progressnumberValue of progress. It should be a number between 0 and 1.0
animatedbooleanShould progress change be animated of not.true
fillColorstringFill color of the progress indicator.#000000
unfilledColorstringColor of the remaining progress.''
borderWidthnumberWidth of outer border. Set to 0 to remove border.1
borderColorstringColor of outer border.#000000
borderRadiusnumberBorder radius of outer border.4
widthnumber | nullWidth of progress container. Set to null to use available space.null
heightnumberHeight of the progress bar.4
durationnumberDuration of progress animation in ms. Works only if animated prop is set to true.500

Contributing

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

License

MIT

Keywords

FAQs

Last updated on 06 Mar 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc