Skip to content

Commit

Permalink
Fixed actual errors with page
Browse files Browse the repository at this point in the history
  • Loading branch information
Srinivas Lade committed Jul 6, 2018
1 parent 273b237 commit 85902c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/material-ui/src/Toolbar/Toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Toolbar.propTypes = {
*/
className: PropTypes.string,
/**
* If `true`, condenses toolbar. Intended for desktop or denser layouts
* If `true`, condenses toolbar. Useful for desktop or denser layouts.
*/
dense: PropTypes.bool,
/**
Expand Down
3 changes: 2 additions & 1 deletion pages/api/toolbar.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ title: Toolbar API
|:-----|:-----|:--------|:------------|
| <span class="prop-name">children</span> | <span class="prop-type">node |   | Toolbar children, usually a mixture of `IconButton`, `Button` and `Typography`. |
| <span class="prop-name">classes</span> | <span class="prop-type">object |   | Override or extend the styles applied to the component. See [CSS API](#css-api) below for more details. |
| <span class="prop-name">disableGutters</span> | <span class="prop-type">bool | <span class="prop-default">false</span> | If `true`, disables gutter padding. |
| <span class="prop-name">dense</span> | <span class="prop-type">bool | <span class="prop-default">false</span> | If `true`, condenses toolbar. Useful for desktop or denser layouts. |
| <span class="prop-name">disableGutters</span> | <span class="prop-type">bool | <span class="prop-default">false</span> | If `true`, disables gutter padding. |

Any other properties supplied will be spread to the root element (native element).

Expand All @@ -28,6 +28,7 @@ You can override all the class names injected by Material-UI thanks to the `clas
This property accepts the following keys:
- `root`
- `gutters`
- `dense`

Have a look at [overriding with classes](/customization/overrides#overriding-with-classes) section
and the [implementation of the component](https://github.com/mui-org/material-ui/tree/master/packages/material-ui/src/Toolbar/Toolbar.js)
Expand Down

0 comments on commit 85902c7

Please sign in to comment.