Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dialog] Fix typo and finish incomplete comment #9379

Merged
merged 2 commits into from Dec 4, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/api/dialog-title.md
Expand Up @@ -14,7 +14,7 @@ filename: /src/Dialog/DialogTitle.js
|:-----|:-----|:--------|:------------|
| children | Node | | The content of the component. |
| classes | Object | | Useful to extend the style applied to components. |
| disableTypography | boolean | false | If `true`, the children won't be wrapped by a typography component. For instance, that can be useful to can render an h4 instead of a |
| disableTypography | boolean | false | If `true`, the children won't be wrapped by a typography component. For instance, this can be useful to render an h4 instead of the default h2. |

Any other properties supplied will be [spread to the root element](/guides/api#spread).

Expand Down
2 changes: 1 addition & 1 deletion src/Dialog/DialogTitle.js
Expand Up @@ -42,7 +42,7 @@ export type Props = {
className?: string,
/**
* If `true`, the children won't be wrapped by a typography component.
* For instance, that can be useful to can render an h4 instead of a
* For instance, this can be useful to render an h4 instead of the default h2.
*/
disableTypography: boolean,
};
Expand Down