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

[Step] Add completed class to the root #12339

Merged
merged 2 commits into from
Jul 30, 2018
Merged

Conversation

kylezinter
Copy link
Contributor

Currently the only place a completed class is being placed in the Step component is deep on the svg element, the MuiSvgIcon of the MuiStepLabel. Adding a class at the root level allows the developer to style any aspect of the Step component when the step is completed. The specific example I've been using this for is to style the step connector and provide and line animation into the next label.

@oliviertassinari oliviertassinari changed the title Adding completed class to the root level of the Step component [Step] Add completed class to the root Jul 30, 2018
@oliviertassinari oliviertassinari added new feature New feature or request component: stepper This is the name of the generic UI component, not the React module! labels Jul 30, 2018
@oliviertassinari oliviertassinari merged commit dde9d44 into mui:master Jul 30, 2018
@oliviertassinari
Copy link
Member

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

@kylezinter
Copy link
Contributor Author

kylezinter commented Jul 30, 2018

Thanks for all the work you guys have put into it, @oliviertassinari, hope I can contribute more!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: stepper This is the name of the generic UI component, not the React module! new feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants