Function freya::components::ExternalLink

pub fn ExternalLink<'a>(
    cx: &'a Scoped<'a, ExternalLinkProps<'a>>
) -> Option<VNode<'a>>
Expand description

Link for external locations, e.g websites.

Props

See ExternalLinkProps.

Styling

Inherits the ExternalLinkTheme theme.

Example

fn app(cx: Scope) -> Element {
    render!(
        ExternalLink {
            url: "https://github.com",
            label {
                "GitHub"
            }
        }
    )
}