Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 498 Bytes

File metadata and controls

11 lines (8 loc) · 498 Bytes

react-nullable-transition is simple wrap component for using react-transition-group with jsx stataments (like vue transition).

For example you can create OpacityTransition component based on this package and use it like this:

<OpacityTransition>
  {show && <Square />}
</OpacityTransition>

See full example here or on codesandbox.