Function freya::prelude::NetworkImage

source ·
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()
        }
    )
}