Skip to content

Commit

Permalink
[docs] We did it, no more 3xx :)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Oct 1, 2018
1 parent 2315431 commit 0cf866a
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/src/modules/components/Head.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function Head(props) {
/>
<meta property="og:description" content={description} />
<meta property="og:image" content="https://material-ui.com/static/brand.png" />
<meta property="og:locale" content="en_US" />
<meta property="og:ttl" content="604800" />
</NextHead>
);
}
Expand Down
4 changes: 2 additions & 2 deletions packages/material-ui/src/Drawer/Drawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const styles = theme => ({
});

/**
* The properties of the [Modal](/api/modal) component are available
* The properties of the [Modal](/api/modal/) component are available
* when `variant="temporary"` is set.
*/
class Drawer extends React.Component {
Expand Down Expand Up @@ -213,7 +213,7 @@ Drawer.propTypes = {
*/
elevation: PropTypes.number,
/**
* Properties applied to the [`Modal`](/api/modal) element.
* Properties applied to the [`Modal`](/api/modal/) element.
*/
ModalProps: PropTypes.object,
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui/src/Popover/Popover.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ Popover.propTypes = {
*/
marginThreshold: PropTypes.number,
/**
* `classes` property applied to the [`Modal`](/api/modal) element.
* `classes` property applied to the [`Modal`](/api/modal/) element.
*/
ModalClasses: PropTypes.object,
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui/src/Tooltip/Tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ Tooltip.propTypes = {
'top',
]),
/**
* Properties applied to the [`Popper`](/api/popper) element.
* Properties applied to the [`Popper`](/api/popper/) element.
*/
PopperProps: PropTypes.object,
/**
Expand Down
4 changes: 2 additions & 2 deletions pages/api/drawer.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title: Drawer API
import Drawer from '@material-ui/core/Drawer';
```

The properties of the [Modal](/api/modal) component are available
The properties of the [Modal](/api/modal/) component are available
when `variant="temporary"` is set.

## Props
Expand All @@ -24,7 +24,7 @@ when `variant="temporary"` is set.
| <span class="prop-name">children</span> | <span class="prop-type">node |   | The contents of the drawer. |
| <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">elevation</span> | <span class="prop-type">number | <span class="prop-default">16</span> | The elevation of the drawer. |
| <span class="prop-name">ModalProps</span> | <span class="prop-type">object |   | Properties applied to the [`Modal`](/api/modal) element. |
| <span class="prop-name">ModalProps</span> | <span class="prop-type">object |   | Properties applied to the [`Modal`](/api/modal/) element. |
| <span class="prop-name">onClose</span> | <span class="prop-type">func |   | Callback fired when the component requests to be closed.<br><br>**Signature:**<br>`function(event: object) => void`<br>*event:* The event source of the callback |
| <span class="prop-name">open</span> | <span class="prop-type">bool | <span class="prop-default">false</span> | If `true`, the drawer is open. |
| <span class="prop-name">PaperProps</span> | <span class="prop-type">object |   | Properties applied to the [`Paper`](/api/paper/) element. |
Expand Down
2 changes: 1 addition & 1 deletion pages/api/popover.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import Popover from '@material-ui/core/Popover';
| <span class="prop-name">elevation</span> | <span class="prop-type">number | <span class="prop-default">8</span> | The elevation of the popover. |
| <span class="prop-name">getContentAnchorEl</span> | <span class="prop-type">func |   | This function is called in order to retrieve the content anchor element. It's the opposite of the `anchorEl` property. The content anchor element should be an element inside the popover. It's used to correctly scroll and set the position of the popover. The positioning strategy tries to make the content anchor element just above the anchor element. |
| <span class="prop-name">marginThreshold</span> | <span class="prop-type">number | <span class="prop-default">16</span> | Specifies how close to the edge of the window the popover can appear. |
| <span class="prop-name">ModalClasses</span> | <span class="prop-type">object |   | `classes` property applied to the [`Modal`](/api/modal) element. |
| <span class="prop-name">ModalClasses</span> | <span class="prop-type">object |   | `classes` property applied to the [`Modal`](/api/modal/) element. |
| <span class="prop-name">onClose</span> | <span class="prop-type">func |   | Callback fired when the component requests to be closed.<br><br>**Signature:**<br>`function(event: object) => void`<br>*event:* The event source of the callback. |
| <span class="prop-name">onEnter</span> | <span class="prop-type">func |   | Callback fired before the component is entering. |
| <span class="prop-name">onEntered</span> | <span class="prop-type">func |   | Callback fired when the component has entered. |
Expand Down
2 changes: 1 addition & 1 deletion pages/api/tooltip.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import Tooltip from '@material-ui/core/Tooltip';
| <span class="prop-name">onOpen</span> | <span class="prop-type">func |   | Callback fired when the tooltip requests to be open.<br><br>**Signature:**<br>`function(event: object) => void`<br>*event:* The event source of the callback |
| <span class="prop-name">open</span> | <span class="prop-type">bool |   | If `true`, the tooltip is shown. |
| <span class="prop-name">placement</span> | <span class="prop-type">enum:&nbsp;'bottom-end', 'bottom-start', 'bottom', 'left-end', 'left-start', 'left', 'right-end', 'right-start', 'right', 'top-end', 'top-start', 'top'<br> | <span class="prop-default">'bottom'</span> | Tooltip placement. |
| <span class="prop-name">PopperProps</span> | <span class="prop-type">object |   | Properties applied to the [`Popper`](/api/popper) element. |
| <span class="prop-name">PopperProps</span> | <span class="prop-type">object |   | Properties applied to the [`Popper`](/api/popper/) element. |
| <span class="prop-name required">title *</span> | <span class="prop-type">node |   | Tooltip title. Zero-length titles string are never displayed. |
| <span class="prop-name">TransitionComponent</span> | <span class="prop-type">union:&nbsp;string&nbsp;&#124;<br>&nbsp;func&nbsp;&#124;<br>&nbsp;object<br> | <span class="prop-default">Grow</span> | Transition component. |
| <span class="prop-name">TransitionProps</span> | <span class="prop-type">object |   | Properties applied to the `Transition` element. |
Expand Down

0 comments on commit 0cf866a

Please sign in to comment.