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

"Alert"

"success" "warning" "error" "success" "warning" "error" "#, "rust" ) > ""

"Alert Props"

"Name" "Type" "Default" "Description"
"title" "MaybeSignal" r#""""# "Title of the alert."
"variant" "AlertVariant" "Alert variant."
"children" "Children" "The content of the alert."
} }