TransitionLink
Navigation component that triggers animated page changes based on CSS View Transitions. Use instead of React Router's Link or <a> tags when you want smooth native feeling navigation within your Mini. Should be wrapped within a MinisRouter.
Caution
In order for the animation transitions to work, you need to enable view transitions in MinisRouter
Caution:
In order for the animation transitions to work, you need to enable view transitions in MinisRouter
Anchor to propsProps
- Anchor to tototostringstringrequiredrequired
The target path to navigate to
- Anchor to childrenchildrenchildrenReact.ReactNodeReact.ReactNode
Content to render inside the link
- Anchor to onClickonClickonClickReact.MouseEventHandler<HTMLAnchorElement>React.MouseEventHandler<HTMLAnchorElement>
Click handler called before navigation
Was this page helpful?