react-slide-routes
The easiest way to slide React routes.
Fit
react-router
version >=4.0.0 and <6.0.0
Add
Use
API
Prop | Type | Required | Default | Description |
---|---|---|---|---|
location |
object |
yes | location |
location from react-router-dom , required |
duration |
number |
200 |
transition-duration in milliseconds |
|
effect |
string |
'ease' |
transition-timing-function , one of 'ease' 'ease-in' 'ease-out' 'ease-in-out' 'linear' |
|
destroy |
boolean |
true |
If false , the passed page will still exits in dom, only invisible |
CSS
All css rules for slide effect, can be useful for customization: