🚚 Simplifica Child[Component] y Typed[Component]

This commit is contained in:
Manuel Cillero 2025-01-05 09:32:49 +01:00
parent db13a6ab8b
commit ee84c219cc
12 changed files with 57 additions and 59 deletions

View file

@ -53,7 +53,7 @@ impl Nav {
}
pub fn with_item(mut self, item: navbar::Item) -> Self {
self.items.add(ChildComponent::with(item));
self.items.add(Child::with(item));
self
}