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

[CircularProgress] Add "inherit" color option #8871

Merged

Conversation

dapetcu21
Copy link
Contributor

Since most other components that accept a color accept inherit, I figured why not add this to CircularProgress as well.

My use case is a white progress indicator on a dark background, which I can achieve with <CircularProgress style={{ color: 'inherit' }} />, but color='inherit' is more in-line with the other components.

I have no idea how to update the docs in pages/api, though. Should I update them manually?

@oliviertassinari oliviertassinari added component: CircularProgress The React component new feature New feature or request labels Oct 27, 2017
@oliviertassinari
Copy link
Member

oliviertassinari commented Oct 27, 2017

Can you update the TypeScript definition too?

I have no idea how to update the docs in pages/api, though. Should I update them manually?

No, it's automatic. I do it from time to time with yarn docs:api. It's perfect if you can do it with this PR :).

@oliviertassinari oliviertassinari merged commit 0487167 into mui:v1-beta Oct 27, 2017
@oliviertassinari
Copy link
Member

@dapetcu21 Perfect, thank you!

the-noob pushed a commit to the-noob/material-ui that referenced this pull request Nov 17, 2017
* [CircularProgress] Add "inherit" color option

* [CircularProgress] Update TypeScript defs to include inherit color

* [CircularProgress] Update API docs
@oliviertassinari oliviertassinari added the component: progress This is the name of the generic UI component, not the React module! label Nov 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: CircularProgress The React component component: progress 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.

2 participants