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

[docs] Fix the type of the second argument of 'createMuiTheme' function #21859

Merged
merged 2 commits into from Jul 22, 2020

Conversation

DanailH
Copy link
Member

@DanailH DanailH commented Jul 20, 2020

This PR aims to fix the type of the second argument of the createMuiTheme function which currently is marked as Array in the documentation.

After following the discussion in the related ticket I've changed the type to Object[].

Fixes #21781

Disclaimer: This is my first PR so if I didn't do something the right way please point it out and I will fix it.

@oliviertassinari oliviertassinari added the docs Improvements or additions to the documentation label Jul 20, 2020
@mui-pr-bot
Copy link

mui-pr-bot commented Jul 20, 2020

No bundle size changes comparing 22fe1ac...1fa5bae

Generated by 🚫 dangerJS against 1fa5bae

* Generate a theme base on the options received.
*
* @param options Takes an incomplete theme object and adds the missing parts.
* @param args Deep merge the arguments with the about to be returned theme.
Copy link
Member

Choose a reason for hiding this comment

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

@eps1lon eps1lon merged commit 44ca435 into mui:next Jul 22, 2020
@eps1lon
Copy link
Member

eps1lon commented Jul 22, 2020

@DanailH Much appreciated, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

createMuiTheme 2nd argument type
4 participants