🚚 Renombra add_component por add_child
This commit is contained in:
parent
180cb9c2f6
commit
769eb384e4
12 changed files with 31 additions and 32 deletions
|
|
@ -71,7 +71,7 @@ impl Block {
|
|||
}
|
||||
|
||||
/// Añade un nuevo componente hijo al bloque.
|
||||
pub fn add_component(mut self, component: impl Component) -> Self {
|
||||
pub fn add_child(mut self, component: impl Component) -> Self {
|
||||
self.children
|
||||
.alter_child(ChildOp::Add(Child::with(component)));
|
||||
self
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue