Function freya::components::NetworkImage

pub fn NetworkImage(props: NetworkImageProps) -> Option<VNode>
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()
        }
    )
}