Function freya_components::ExternalLink
source · pub fn ExternalLink<'a>(cx: Scope<'a, ExternalLinkProps<'a>>) -> Element<'_>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"
}
}
)
}