We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b72a73 commit 57eb15bCopy full SHA for 57eb15b
src/CircularProgress.js
@@ -40,6 +40,7 @@ const CircularProgress = ({
40
blankColor = "#eaeaea",
41
donutColor = "#43cdcf",
42
fillColor = "white",
43
+ progressWidth = 35,
44
children
45
}) => {
46
return <View style={styles.base}>
@@ -49,7 +50,7 @@ const CircularProgress = ({
49
50
d={`M50 50 L50 0 ${generateArc(percentage)} Z`}
51
fill={donutColor}
52
/>
- {<Circle cx="50" cy="50" r="35" fill={fillColor}/>}
53
+ {<Circle cx="50" cy="50" r={progressWidth} fill={fillColor}/>}
54
</Svg>
55
<View style={styles.textView}>
56
{children}
0 commit comments