use crate::components::{Demo, DemoCode}; use leptos::*; use prisms::highlight_str; use thaw::*; #[component] pub fn AvatarPage() -> impl IntoView { view! {

"Avatar"

{highlight_str!( r#" "#, "rust" )}

"Avatar Props"

"Name" "Type" "Default" "Description"
"src" "MaybeSignal" "Default::default()" "Avatar's image source."
"round" "MaybeSignal" "false" "Whether to display a rounded avatar."
"size" "MaybeSignal" "30" "Avatar's size."
} }