use leptos::html::Ul; use leptos::leptos_dom::*; use leptos::*; use leptos_use::{use_element_size, UseElementSizeReturn, use_scroll, UseScrollReturn}; use crate::components::dashboard_tile::DashboardTile; use leptos_icons::*; /// A row of dashboard tiles, with a title pub struct DashboardRow { pub title: String, pub tiles: Vec>, } impl DashboardRow { pub fn new(title: String, tiles: Vec>) -> Self { Self { title, tiles, } } } impl IntoView for DashboardRow { fn into_view(self) -> View { let list_ref = create_node_ref::