react-nullable-transition
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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 on codesandbox

Package Sidebar

Install

npm i react-nullable-transition

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

2.91 kB

Total Files

7

Last publish

Collaborators

  • daxb
  • mavajee