Skip to content

Conversation

@ctdio
Copy link
Contributor

@ctdio ctdio commented Jul 27, 2018

The docs specify that for the DialogContentText component:

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

This is true in practice, but the typings for the component does not support that statement. This PR allows for the DialogContentTextProps type to inherit properties from the TypographyProps type.

@oliviertassinari oliviertassinari added scope: dialog Changes related to the dialog. typescript labels Jul 27, 2018
@oliviertassinari oliviertassinari merged commit f432f8a into mui:master Jul 27, 2018
@oliviertassinari
Copy link
Member

@charlieduong94 It's a great first pull request on Material-UI 👌🏻. Thank you for giving it a shot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: dialog Changes related to the dialog. typescript

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants