Function freya_components::NetworkImage
source · pub fn NetworkImage(props: NetworkImageProps) -> Element
Expand description
Image component that automatically fetches and caches remote (HTTP) images.
§Example
fn app() -> Element {
rsx!(
NetworkImage {
url: "https://raw.githubusercontent.com/jigsawpieces/dog-api-images/main/greyhound/Cordelia.jpg".parse::<Url>().unwrap()
}
)
}