0

How can i assign one or more progress on circle progress as shown below I'm using the library react-native-circular-progress

Current: enter image description here

Expect: enter image description here

Thanks all !

1 Answers1

4

You can install react-native-circular-gradient-progress to implement this.

If you are using npm then please write

npm install react-native-circular-gradient-progress

If you are using yarn then please write

yarn add react-native-circular-gradient-progress

You can use it like below:

import React from "react";
import { CircularProgress } from "react-native-circular-gradient-progress";
 
const HomePage: React.FunctionComponent = () => (
  <CircularProgress
    color="#F00"
    size={size}
    progress={progress}
  />
)
 
export default HomePage;

And u will get result like this:

enter image description here

For further explanation of props you can read documentation.