blob: 6e51da771e6d8b7896f75a9acd4837eef80cbd8f (
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 LinearQuery(props) {
const { classes } = props;
return (
<div className={classes.root}>
<LinearProgress variant="query" />
<br />
<LinearProgress color="secondary" variant="query" />
</div>
);
}
LinearQuery.propTypes = {
classes: PropTypes.object.isRequired,
};
export default withStyles(styles)(LinearQuery);
|