transitionable-portal

v0.88.2arrow_drop_down
v0.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
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
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
modifieddraft
modifieddraft
modifieddraft
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
NameTypeDefault valueDescription
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.

Help and resources