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] Migrate docs' breadcrumbs page to hooks #15349

Merged
merged 7 commits into from
Apr 15, 2019

Conversation

kenzhemir
Copy link
Contributor

Description
This PR migrates the doc's breadcrumbs page to hooks. Relates to #15032.

This is not ready for merge yet, since I have encountered some difficulties with typescript definitions in CustomizedBreadcrumbs (lines 12 and 44) and RouterBreadcrumbs (lines 29 and 82). I didn't get what should be the type of Props, when it does not extend WithStyles

Copy link
Member

@oliviertassinari oliviertassinari left a comment

Choose a reason for hiding this comment

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

I have reverted a few changed that breaks the build. You can't use the hook API within a class. The withStyles module has still his use cases for extending the style of one component.

@oliviertassinari oliviertassinari added docs Improvements or additions to the documentation PR: good for merge labels Apr 14, 2019
@mui-pr-bot
Copy link

No bundle size changes comparing 5236588...fe42f80

Generated by 🚫 dangerJS against fe42f80

@oliviertassinari oliviertassinari merged commit 33eb4e9 into mui:next Apr 15, 2019
@oliviertassinari
Copy link
Member

@kenzhemir 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.

3 participants