0.0.3 • Published 3 months ago

react-native-colored-circle-percentage v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

react-native-colored-percentage-circle

React Native Version >= 0.70 This is a fork of percentage circle so that it can work with typescript and more updated react native as it was outdated.Putting in some extra functionalities so that it can change the color in sync with the percentage (or not). Feel free to contribute

Options

PropsTypeExampleDescription
colorstring'#000'the color of border
bgcolorstring'#e3e3e3'the background color of the circle
innerColorstring'#fff'the color of the inside of the circle
percentNumber30the percent you need
radiusNumber20how large the circle is
borderWidthNumber(default 2)5the width of percentage progress bar
textStyleArray{fontSize: 24, color: 'red'}define the style of the text which in the circle
childrenjsx<Text>123</Text>define the children component in the circle

MIT License

0.0.3

3 months ago

0.0.2

3 months ago

0.0.1

3 months ago