Skip to content

Commit b9f1f6b

Browse files
author
Srinivas Lade
committed
Fixed actual errors with page
1 parent 273b237 commit b9f1f6b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/material-ui/src/Toolbar/Toolbar.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Toolbar.propTypes = {
5353
*/
5454
className: PropTypes.string,
5555
/**
56-
* If `true`, condenses toolbar. Intended for desktop or denser layouts
56+
* If `true`, condenses toolbar. Useful for desktop or denser layouts
5757
*/
5858
dense: PropTypes.bool,
5959
/**

pages/api/toolbar.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ title: Toolbar API
1717
|:-----|:-----|:--------|:------------|
1818
| <span class="prop-name">children</span> | <span class="prop-type">node |   | Toolbar children, usually a mixture of `IconButton`, `Button` and `Typography`. |
1919
| <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. |
20-
| <span class="prop-name">disableGutters</span> | <span class="prop-type">bool | <span class="prop-default">false</span> | If `true`, disables gutter padding. |
2120
| <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. |
21+
| <span class="prop-name">disableGutters</span> | <span class="prop-type">bool | <span class="prop-default">false</span> | If `true`, disables gutter padding. |
2222

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

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

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

0 commit comments

Comments
 (0)