A circular progress chart using react-native-svg
npm install react-native-svg react-native-svg-circular-progress --save
react-native link react-native-svg
import {CircularProgress} from 'react-native-svg-circular-progress'
const App = () => {
const percentage = 40
return <View>
<CircularProgress percentage={percentage}>
<View>
<Text>{percentage}%</Text>
</View>
</CircularProgress>
</View>
}
- percentage (default: 80)
- blankColor (default: "#eaeaea")
- donutColor (default: "#43cdcf")
- fillColor (default: "white")
- progressWidth (default: 35)
- size (default: 100)