UNPKG

@activelylearn/material-ui

Version:

Material-UI's workspace package

28 lines (23 loc) 582 B
import React from 'react'; import PropTypes from 'prop-types'; import { withStyles } from '@material-ui/core/styles'; import LinearProgress from '@material-ui/core/LinearProgress'; const styles = { root: { flexGrow: 1, }, }; function LinearIndeterminate(props) { const { classes } = props; return ( <div className={classes.root}> <LinearProgress /> <br /> <LinearProgress color="secondary" /> </div> ); } LinearIndeterminate.propTypes = { classes: PropTypes.object.isRequired, }; export default withStyles(styles)(LinearIndeterminate);