-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jovert Lota Palonpon
committed
Mar 30, 2019
1 parent
db169ff
commit fa18ebb
Showing
8 changed files
with
758 additions
and
454 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
|
||
import { LinearProgress, withStyles } from '@material-ui/core'; | ||
|
||
const LinearIndeterminate = props => ( | ||
<LinearProgress className={props.classes.root} /> | ||
); | ||
|
||
const styles = theme => ({ | ||
root: { | ||
margin: `0 ${theme.spacing.unit}px`, | ||
minHeight: theme.spacing.unit, | ||
borderTopRightRadius: '100%', | ||
borderTopLeftRadius: '100%', | ||
}, | ||
}); | ||
|
||
LinearIndeterminate.propTypes = { | ||
classes: PropTypes.object.isRequired, | ||
}; | ||
|
||
export default withStyles(styles)(LinearIndeterminate); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export { default as LinearDeterminate } from './LinearDeterminate'; | ||
export { default as LinearIndeterminate } from './LinearIndeterminate'; |
Oops, something went wrong.