RouterLink
Renders a React-router-dom <Link>
component that triggers animations. It requires the source and the destination view to be wrapped with the <MotionScreen />
component.
<RouterLink />
Props
Name | type | required |
---|---|---|
children | Node | true |
to | string or function | true |