1.0.1 • Published 3 years ago

rn-screen-progress-bar v1.0.1

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

rn-screen-progress-bar

React native device screen progress bar.

Pretty simple package that helps implement screen progress bar. It works on ScrollView component, so it will count everything you put inside ContentArea component. It supports both, Android and IOS platforms.

If you have any suggestions or find any bug, feel free to make an issue!

https://user-images.githubusercontent.com/21690864/131182596-e82e0034-a6ad-4028-a912-efc1c2198890.mp4

import {ContentArea} from 'rn-screen-progress-bar';

Than you just need to put the component in the right place and put the children elements inside.

    <ContentArea>
      <Text>Lorem ipsum dolor sit amet</Text>
    </ContentArea>

Simulator Screen Shot - iPhone 12 - 2021-08-27 at 21 15 10

Simulator Screen Shot - iPhone 12 - 2021-08-27 at 21 14 44

    <ContentArea
      percentage
      percentageColor="#ffffff">
      <Text>Lorem ipsum dolor sit amet</Text>
    </ContentArea>
    <ContentArea
      percentage
      percentageColor="#ffffff">
      <Text>Lorem ipsum dolor sit amet</Text>
    </ContentArea>
    <ContentArea
      backgroundColor="#000000">
      <Text>Lorem ipsum dolor sit amet</Text>
    </ContentArea>
    <ContentArea
      barColor="#8BED4F">
      <Text>Lorem ipsum dolor sit amet</Text>
    </ContentArea>
    <ContentArea
      top="20">
      <Text>Lorem ipsum dolor sit amet</Text>
    </ContentArea>