Function freya::prelude::NetworkImage

pub fn NetworkImage(props: NetworkImageProps) -> Option<VNode>
Expand description

NetworkImage component.

Props

See NetworkImageProps.

Example

fn app() -> Element {
    rsx!(
        NetworkImage {
            url: "https://raw.githubusercontent.com/jigsawpieces/dog-api-images/main/greyhound/Cordelia.jpg".parse().unwrap()
        }
    )
}