use leptos::prelude::*; #[component] fn TablerOutlineIcon(#[prop(into, optional)] class: String, children: Children) -> impl IntoView { view! { } } #[component] fn DashboardIcon(#[prop(into, optional)] class: String) -> impl IntoView { view! { } } #[component] fn EmployeeManagementIcon(#[prop(into, optional)] class: String) -> impl IntoView { view! { } } #[component] fn ImageAnnotationIcon(#[prop(into, optional)] class: String) -> impl IntoView { view! { } } #[component] fn LidarAnnotationIcon(#[prop(into, optional)] class: String) -> impl IntoView { view! { } } #[component] fn ManagementCenterIcon(#[prop(into, optional)] class: String) -> impl IntoView { view! { } } #[component] fn MyProjectsIcon(#[prop(into, optional)] class: String) -> impl IntoView { view! { } } #[component] fn PersonalCenterIcon(#[prop(into, optional)] class: String) -> impl IntoView { view! { } } #[component] fn ProjectCategoryIcon(#[prop(into, optional)] class: String) -> impl IntoView { view! { } } #[component] fn ProjectManagementIcon(#[prop(into, optional)] class: String) -> impl IntoView { view! { } } #[component] fn ReportIcon(#[prop(into, optional)] class: String) -> impl IntoView { view! { } } #[component] fn WorkloadIcon(#[prop(into, optional)] class: String) -> impl IntoView { view! { } } #[component] fn TeamManagementIcon(#[prop(into, optional)] class: String) -> impl IntoView { view! { } } #[component] fn VideoAnnotationIcon(#[prop(into, optional)] class: String) -> impl IntoView { view! { } } #[component] fn LockIcon(#[prop(into, optional)] class: String) -> impl IntoView { view! { } } #[component] fn LogoutIcon(#[prop(into, optional)] class: String) -> impl IntoView { view! { } } #[component] fn ChevronDownIcon(#[prop(into, optional)] class: String) -> impl IntoView { view! { } } #[component] fn ChevronLeftIcon(#[prop(into, optional)] class: String) -> impl IntoView { view! { } } #[component] fn ChevronRightIcon(#[prop(into, optional)] class: String) -> impl IntoView { view! { } } #[component] fn EditIcon(#[prop(into, optional)] class: String) -> impl IntoView { view! { } } #[component] fn UploadIcon(#[prop(into, optional)] class: String) -> impl IntoView { view! { } } #[component] fn InfoCircleIcon(#[prop(into, optional)] class: String) -> impl IntoView { view! { } } #[component] fn SystemIcon(#[prop(into, optional)] class: String) -> impl IntoView { view! { } } #[component] fn PersonalMenuIcon(#[prop(into, optional)] class: String) -> impl IntoView { view! { } } #[component] fn TaskMenuIcon(#[prop(into, optional)] class: String) -> impl IntoView { view! { } } #[component] fn AuthMenuIcon(#[prop(into, optional)] class: String) -> impl IntoView { view! { } } #[component] pub fn ClientIcon( icon: Option<&'static str>, #[prop(into, optional)] class: String, ) -> impl IntoView { match icon { Some("DashboardIcon") => view! { }.into_any(), Some("EmployeeManagementIcon") => { view! { }.into_any() } Some("ImageAnnotationIcon") => { view! { }.into_any() } Some("LidarAnnotationIcon") => { view! { }.into_any() } Some("ManagementCenterIcon") => { view! { }.into_any() } Some("MyProjectsIcon") => view! { }.into_any(), Some("PersonalCenterIcon") => { view! { }.into_any() } Some("ProjectCategoryIcon") => { view! { }.into_any() } Some("ProjectManagementIcon") => { view! { }.into_any() } Some("ReportIcon") => view! { }.into_any(), Some("WorkloadIcon") => view! { }.into_any(), Some("TeamManagementIcon") => { view! { }.into_any() } Some("VideoAnnotationIcon") => { view! { }.into_any() } Some("LockIcon") => view! { }.into_any(), Some("LogoutIcon") => view! { }.into_any(), Some("ChevronDownIcon") => view! { }.into_any(), Some("ChevronLeftIcon") => view! { }.into_any(), Some("ChevronRightIcon") => view! { }.into_any(), Some("EditIcon") => view! { }.into_any(), Some("UploadIcon") => view! { }.into_any(), Some("InfoCircleIcon") => view! { }.into_any(), Some("SystemIcon") => view! { }.into_any(), Some("PersonalMenuIcon") => view! { }.into_any(), Some("TaskMenuIcon") => view! { }.into_any(), Some("AuthMenuIcon") => view! { }.into_any(), _ => { let _: () = view! { <> }; ().into_any() } } }