Function freya::components::NetworkImage

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

NetworkImage component.

Props

See NetworkImageProps.

Example

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