JSPM

  • Created
  • Published
  • Downloads 18785717
  • Score
    100M100P100Q231485F
  • License BSD-3-Clause

A react component toolset for managing animations

Package Exports

  • react-transition-group
  • react-transition-group/CSSTransition
  • react-transition-group/Transition
  • react-transition-group/TransitionGroup
  • react-transition-group/TransitionGroupContext
  • react-transition-group/cjs/CSSTransition.js
  • react-transition-group/cjs/Transition.js
  • react-transition-group/cjs/TransitionGroup.js
  • react-transition-group/cjs/TransitionGroupContext.js
  • react-transition-group/cjs/index.js
  • react-transition-group/esm/CSSTransition.js
  • react-transition-group/esm/Transition.js
  • react-transition-group/esm/TransitionGroup.js
  • react-transition-group/esm/TransitionGroupContext.js
  • react-transition-group/esm/index.js
  • react-transition-group/package.json

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-transition-group) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

react-transition-group npm

ATTENTION! To address many issues that have come up over the years, the API in v2 and above is not backwards compatible with the original React addon (v1-stable).

For a drop-in replacement for react-addons-transition-group and react-addons-css-transition-group, use the v1 release. Documentation and code for that release are available on the v1-stable branch.

We are no longer updating the v1 codebase, please upgrade to the latest version when possible

A set of components for managing component states (including mounting and unmounting) over time, specifically designed with animation in mind.

Documentation

TypeScript

TypeScript definitions are published via DefinitelyTyped and can be installed via the following command:

npm install @types/react-transition-group

Examples

Clone the repo first:

git@github.com:reactjs/react-transition-group.git

Then run npm install (or yarn), and finally npm run storybook to start a storybook instance that you can navigate to in your browser to see the examples.