Utilizing the CircularProgress-Icon component from Material UI, I'm interested in modifying the size and color attributes. Below is the code snippet in question:
- size
- color
The snippet of code in question appears as follows:
const useStyles = makeStyles({
button: {
color: 'white',
fontSize: 15,
},
});
<CircularProgress className={classes.button} />
The color attribute functions as expected, but I'm facing issues with resizing. I've attempted using "size: 15", as well as "height: 15, width: 15", but to no avail. Any insights on what may be causing this issue? Thank you in advance!