Skip to content

Commit

Permalink
Update MUI variants to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
bearcanrun committed Oct 16, 2018
1 parent fbe5477 commit fdc9953
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
dist
examples
.storybook
webpack.config.js
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@advancedalgos/web-components",
"description": "Shared web components for Advanced Algos modules",
"version": "0.0.8",
"version": "0.0.10",
"author": "Advanced Algos, Ltd",
"license": "SEE LICENSE IN LICENSE",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions src/image-upload/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class ImageUpload extends Component {
return (
<div className={classes.imageUploadContainer}>
{this.state.event === 'cropping' && (
<Typography variant='title' color='primary' >Cropping...</Typography>
<Typography variant='h6' color='primary' >Cropping...</Typography>
)}
{this.state.event !== 'cropping' && (
<React.Fragment>
Expand All @@ -110,7 +110,7 @@ class ImageUpload extends Component {
<DropZone onDrop={this.onDrop} handleCancel={this.handleCancel} />
)}
{ this.state.event === 'uploaded' && (
<Typography variant='title' color='primary' >Save profile to save image changes</Typography>
<Typography variant='h6' color='primary' >Save profile to save image changes</Typography>
)}
</div>
<CropperDialog
Expand Down
2 changes: 1 addition & 1 deletion src/message-card/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const MessageCard = ({ classes, message, children }) => (
<Card className={classes.card}>
<div className={classes.cardDetails}>
<CardContent className={classes.cardContent}>
<Typography variant='headline' align='center' gutterBottom>
<Typography variant='h5' align='center' gutterBottom>
{message}
</Typography>
{children}
Expand Down

0 comments on commit fdc9953

Please sign in to comment.