AnimateLink#

This component extends la-danze-ui NavLink (chich extends NavLink of react-router-dom). It provides additional props for animating nested routing (see explanation).

Example#

import { AnimateLink } from 'la-danze-ui';
function App() {
return (
...
<AnimateLink to="/" exact title="Home" />
...
);
}

Props#

Extends la-danze-ui NavLink props

Additional props:

NameTypeDefaultRequiredDescription
animationKeyAnimationKeyYesOverride key prop. Use it only if you have nested routes. It will prevent parent route to re render.