react-native-image-progressbar

0.0.1 • Public • Published

React Native Image Progress Bar

An image based react-native progress bar:

Preview

And sample sample code:

var ProgressBar = require('react-native-image-progressbar');

Then:

<ProgressBar
  source={require('image!flowers')}
  width={300}
  height={30}
  percent={75}
  style={[{
    borderRadius: 10,
    borderWidth: 1,
    borderColor: '#aaa'
  }, this.props.style]}>
  <Text style={{
    textAlign: 'center',
    color: 'white',
    width: 300,
    height: 30,
    paddingTop: 5,
    fontWeight: 'bold',
    backgroundColor: 'transparent'
  }}>75%</Text>
</ProgressBar>

Installation

npm install react-native-image-progressbar --save

Readme

Keywords

none

Package Sidebar

Install

npm i react-native-image-progressbar

Weekly Downloads

2

Version

0.0.1

License

MIT

Last publish

Collaborators

  • jdherrington