1.0.1 • Published 1 year ago

rn-circular-linear-progress v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

rn-circular-linear-progress

Note: Current only support for expo

Demo

IOSAndroid
IOS-ezgif com-video-to-gif-converterANDROID-ezgif com-video-to-gif-converter

Installation

npm install rn-circular-linear-progress
or
yarn add rn-circular-linear-progress

Usage

import CircleLinearProgress from 'rn-circular-linear-progress';

export default function App() {
  return (
    <View style={styles.container}>
      <CircleLinearProgress percent={50} />
    </View>
  );
}

Or

import { Text } from 'react-native';
import CircleLinearProgress from 'rn-circular-linear-progress';

export default function App() {
  return (
    <View style={styles.container}>
      <CircleLinearProgress percent={50}>
        <Text>Helo</Text>
      </CircleLinearProgress>
    </View>
  );
}

Props

PropsTypeRequiredNote
percentnumber1-100
childrenReactNode
labelStyleTextStyleStyle of default label
durationnumberDuration for animation
colorsstring[]
sizenumberWidth of circle
strokeWidthnumber
bgColorContentstring
childContainerStyleViewStyle

Contributing

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

License

MIT


Made with create-react-native-library

1.0.1

1 year ago

1.0.0

1 year ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago