Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

3 роки тому
123456789101112131415161718192021222324252627
  1. # react-transition-group [![npm][npm-badge]][npm]
  2. > **ATTENTION!** To address many issues that have come up over the years, the API in v2 is not backwards compatible with the original [`React addon (v1-stable)`](https://github.com/reactjs/react-transition-group/tree/v1-stable).
  3. >
  4. > **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`](https://github.com/reactjs/react-transition-group/tree/v1-stable) branch.**
  5. >
  6. > We are no longer updating the v1 codebase, please upgrade to v2 when possible
  7. A set of components for managing component states (including mounting and unmounting) over time, specifically designed with animation in mind.
  8. ## Documentation
  9. - [**Main documentation**](https://reactcommunity.org/react-transition-group/)
  10. - [Migration guide from v1](/Migration.md)
  11. ## Examples
  12. Clone the repo first:
  13. ```
  14. git@github.com:reactjs/react-transition-group.git
  15. ```
  16. 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.
  17. [npm-badge]: https://img.shields.io/npm/v/react-transition-group.svg
  18. [npm]: https://www.npmjs.org/package/react-transition-group