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

[typescript] Add inline style prop to transition #10650

Merged
merged 2 commits into from Mar 14, 2018
Merged

[typescript] Add inline style prop to transition #10650

merged 2 commits into from Mar 14, 2018

Conversation

nmchaves
Copy link
Contributor

This PR adds the style prop back into the transition TypeScript declarations (the style prop was removed in #10129).

This allows TypeScript users to pass inline styles to transition components like <Fade/> without compiler errors. This is useful because it allows you to do things like delaying a transition (as shown in the transition docs).

@pelotom pelotom merged commit cced491 into mui:v1-beta Mar 14, 2018
@oliviertassinari oliviertassinari changed the title [typescript] add inline style prop to transition [typescript] Add inline style prop to transition Mar 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants