maisano / react-router-transition

painless transitions built for react-router, powered by react-motion
http://maisano.github.io/react-router-transition/
MIT License
2.6k stars 138 forks source link

Wrong import in demo #73

Closed danedavid closed 6 years ago

danedavid commented 7 years ago

In the demo for AnimatedSwitch, I found the following line:

AnimatedSwitchDemo.js: import { spring, AnimatedRoute } from 'react-router-transition';

..but have used:

<AnimatedSwitch
    atEnter={bounceTransition.atEnter}
    atLeave={bounceTransition.atLeave}
    atActive={bounceTransition.atActive}
    mapStyles={mapStyles}
    className="route-wrapper"
  >

.. and AnimatedRoute seems to be not used anywhere.

maisano commented 7 years ago

good catch–feel free to PR!