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

[Dialog] Fix typo and finish incomplete comment #9379

merged 2 commits into from Dec 4, 2017

Conversation

willgriffiths
Copy link
Contributor

I finished what I thought the original commenter wanted to say. Thanks for you guys hard work. This project is awesome!

I finished what I thought the original commenter wanted to say.
pelotom
pelotom previously requested changes Dec 3, 2017
@@ -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, that can be useful to render a h4 instead of the default h2.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, except the original "an" was correct, at least in American English.

Copy link
Member

@mbrookes mbrookes Dec 3, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And in English English. 😄

I would also change 'that' to 'this'.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, please cloud you update the base commit title to match the PR title (as it is now) - it keeps make preparing the CHANGELOG much easier! Thanks.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, please cloud you update the base commit title to match the PR title (as it is now) - it keeps make preparing the CHANGELOG much easier! Thanks.

No neeed. We can squash & rebase. We can put whatever we prefer as admin.

@mbrookes
Copy link
Member

mbrookes commented Dec 4, 2017

Looking at this a bit closer, I wonder what the rational was behind disableTypography vs being able to pass in Typography type prop?

@mbrookes mbrookes added component: dialog This is the name of the generic UI component, not the React module! docs Improvements or additions to the documentation v1.x labels Dec 4, 2017
@mbrookes mbrookes changed the title Fix typo and finish incomplete comment [Dialog] Fix typo and finish incomplete comment Dec 4, 2017
@oliviertassinari
Copy link
Member

I wonder what the rational was behind disableTypography vs being able to pass in Typography type prop?

@mbrookes People might want to use react-intl to translate the title. However, I'm wondering about at TypographyComponent property.

@mbrookes
Copy link
Member

mbrookes commented Dec 4, 2017

I'm wondering about at TypographyComponent property.

I like that idea better.

@oliviertassinari oliviertassinari self-assigned this Dec 4, 2017
@oliviertassinari oliviertassinari merged commit 37621d2 into mui:v1-beta Dec 4, 2017
@oliviertassinari
Copy link
Member

oliviertassinari commented Dec 4, 2017

@willgriffiths Thank you, it's a first great pull-request here :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: dialog This is the name of the generic UI component, not the React module! docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants