Material-ui: [Transition] Expose internal component?

Created on 26 Sep 2017  路  3Comments  路  Source: mui-org/material-ui


In this example Collapse component is used with unmountOnExit property, which is passed to its inherited component Transition.
Transition is not present in Component API docs, since it is internal.

So maybe it's worth to expose that component?
It will also add a possibility to write own transitions easier.

Transition discussion

Most helpful comment

If at all possible, let's use the external project. I don't see a need to maintain that here; am I missing something in that regard?

All 3 comments

This is a good question! The current situation is tricky:

So, we have some options:

If at all possible, let's use the external project. I don't see a need to maintain that here; am I missing something in that regard?

There is no more internal Transition component. No need to expose it 馃檭. Instead, the documentation points to react-transition-group.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chadobado picture chadobado  路  119Comments

amcasey picture amcasey  路  70Comments

darkowic picture darkowic  路  62Comments

tleunen picture tleunen  路  59Comments

iceafish picture iceafish  路  62Comments