Function freya_components::NetworkImage
source · pub fn NetworkImage<'a>(cx: Scope<'a, NetworkImageProps<'a>>) -> Element<'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()
}
)
}