Makes clicking on child elements navigate to a route.
@solara.component def Link( path_or_route: Union[str, solara.Route], children=, nofollow=False, ): ...
Most common usage is in combination with a button, e.g.:
with solara.Link("/fruit/banana"): solara.Button("Go to banana")
- path_or_route: the path or route to navigate to. Paths should be absolute, e.g. '/fruit/banana'.
If a route is given,
resolve_path] will be used to resolve to the absolute path.
- children: the children of the link. If a child is clicked, the link will be followed.
- nofollow: If True, the link will not be followed by web crawlers (such as google).