🚚 Simplifica Child[Component] y Typed[Component]

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

View file

@ -142,7 +142,7 @@ impl Offcanvas {
}
pub fn with_child(mut self, child: impl ComponentTrait) -> Self {
self.children.add(ChildComponent::with(child));
self.children.add(Child::with(child));
self
}