Like
Install fade as a package?
Copied
npm i @bit/mui-org.material-ui.fade
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
modifieddraft
chevron_left
chevron_right
A single child content element.
If true
, the component will transition in.
The duration for the transition, in milliseconds. You may specify a single timeout for all transitions, or individually with an object.
The Fade transition is used by the Modal component. It uses react-transition-group internally. Demos:
API:
- Fade API
- inherits Transition API
The Fade transition is used by the Modal component. It uses react-transition-group internally.
Properties
Name | Type | Description |
---|---|---|
children | element | A single child content element. |
in | bool | If |
onEnter | function | |
onExit | function | |
style | object | |
timeout | number | {"appear":"number","enter":"number","exit":"number"} | The duration for the transition, in milliseconds. You may specify a single timeout for all transitions, or individually with an object. |