Skip to content

Commit

Permalink
Refs mui#7033 - Fixed propType progressClassName and added API docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhayes committed Jun 2, 2017
1 parent eb028c0 commit d3367f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ This property accepts the following keys:
- `dots`
- `dot`
- `dotActive`
- `progressClassName`

Have a look at [overriding with class names](/customization/overrides#overriding-with-class-names)
section for more detail.
Expand Down
6 changes: 5 additions & 1 deletion src/MobileStepper/MobileStepper.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const styleSheet = createStyleSheet('MuiMobileStepper', theme => ({
},
progressClassName: {
width: '50%',
}
},
}));

function MobileStepper(props) {
Expand Down Expand Up @@ -145,6 +145,10 @@ MobileStepper.propTypes = {
* Passed into the onTouchTap prop of the Next button.
*/
onNext: PropTypes.func.isRequired,
/**
* @ignore
*/
progressClassName: PropTypes.string,
/**
* The total steps.
*/
Expand Down

0 comments on commit d3367f0

Please sign in to comment.