use leptos::*;
use crate::components::ui::alert::{Alert, AlertDescription, AlertTitle};
#[component]
pub fn AlertDemo() -> impl IntoView {
view! {
<Alert>
// <Terminal class="h-4 w-4" />
<AlertTitle>Heads up!</AlertTitle>
<AlertDescription>
You can add components to your app using the cli.
</AlertDescription>
</Alert>
}
}
use leptos::*;
use crate::components::ui::alert::{Alert, AlertDescription, AlertTitle};
#[component]
fn Usage() -> impl IntoView {
view! {
<Alert>
// <Terminal class="h-4 w-4" />
<AlertTitle>Heads up!</AlertTitle>
<AlertDescription>
You can add components to your app using the cli.
</AlertDescription>
</Alert>
}
}
use leptos::*;
use crate::components::ui::alert::{Alert, AlertDescription, AlertTitle};
#[component]
pub fn AlertDemo() -> impl IntoView {
view! {
<Alert>
// <Terminal class="h-4 w-4" />
<AlertTitle>Heads up!</AlertTitle>
<AlertDescription>
You can add components to your app using the cli.
</AlertDescription>
</Alert>
}
}