[docs] Migrate Portal demos to emotion#25505
Conversation
oliviertassinari
left a comment
There was a problem hiding this comment.
I'm leaving a note for @mnajdova. This made me wonder if we should document
import Portal from '@material-ui/unstyled/Portal';instead of
import Portal from '@material-ui/core/Portal';or if we should add an ## Unstyled hero section in the page.
For the sake of simplicity from developer's perspective, I think we should leave the import
Developers shouldn't care about the specifics of whether this component has styles or not. If they want to use the unstyled version, they may change the import to the |
|
In this case, I would propose we add an import Portal from '@material-ui/unstyled/Portal';While the unstyled nature of the demos on the page suggests, it's not obvious that it's available in this package too. |
Related to #16947