transitionable-portal
v0.88.2arrow_drop_downv0.88.2
v0.86.0
v0.85.0
v0.84.0
STATUS
Passing
DOWNLOADS
166
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
3 years ago
SIZE
80 KB
Called when a close event happens.
1 contributor
Like
Install transitionable-portal as a package?
Copied
npm i @bit/semantic-org.semantic-ui-react.transitionable-portal
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example 
modifieddraft
modifieddraft
modifieddraft
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



chevron_left
chevron_right
Called when a close event happens.
Callback on each transition that changes visibility to hidden.
Called when an open event happens.
Callback on animation start.
TransitionablePortal ()
A sugar for Portal
and Transition
.
Properties
Name | Type | Default value | Description |
---|---|---|---|
children (required) | node | Primary content. | |
onClose | function | React’s original SyntheticEvent. | |
onHide | function | ||
onOpen | function | React’s original SyntheticEvent. | |
onStart | function | ||
open | bool | Controls whether or not the portal is displayed. | |
transition | object | {
animation: 'scale',
duration: 400,
} | Transition props. |