mirror of
https://github.com/danbulant/lucide
synced 2026-06-23 16:51:53 +00:00
15 lines
367 B
Rust
15 lines
367 B
Rust
use leptos::prelude::*;
|
|
|
|
#[component]
|
|
pub fn App() -> impl IntoView {
|
|
#[allow(unused_mut)]
|
|
let mut views: Vec<AnyView> = vec![];
|
|
|
|
#[cfg(feature = "icons")]
|
|
{
|
|
use crate::icons::Icons;
|
|
views.push(view! { <Icons /> }.into_any());
|
|
}
|
|
|
|
view! { <div class="w-full h-full flex justify-center items-start">{views.into_view()}</div> }
|
|
}
|