blob: 55ad2a1af25d7b1b62cd70fb6b462b23b484d9e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
import React from 'react';
import PropTypes from 'prop-types';
import { withStyles } from '@material-ui/core/styles';
import { LinearProgress } from '@material-ui/core';
const styles = {
root: {
flexGrow: 1,
},
};
function LinearIndeterminate(props) {
const { classes } = props;
return (
<div className={classes.root}>
<LinearProgress variant="determinate" value={20} />
<br />
<LinearProgress variant="determinate" value={60} color="secondary" />
</div>
);
}
LinearIndeterminate.propTypes = {
classes: PropTypes.object.isRequired,
};
export default withStyles(styles)(LinearIndeterminate);
|