I have a simple started project in react and I am trying to use conic-gradient in react. Here is the code :
import React, {Component} from 'react';
export default class App extends Component {
constructor(props) {
super(props);
}
render(){
return(
<div>
<div style = {styles.progressCircle}></div>
</div>
);
}
}
const styles = {
progressCircle : {
width: "100px",
height: "100px",
borderRadius: "50%",
background: "conicGradient(red 4%, gray 0 8%, blue 0 17%,yellow 0 48%,purple 0 54%, orange 0)"
}
}
Nothing shows up on the screen . why is that?