Function freya::components::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::<Url>().unwrap()
}
)
}