💥 Rename Veck to LisComponents

This commit is contained in:
Manuel Cillero 2023-08-18 11:26:49 +02:00
parent 24f2f0d765
commit 66117992c1
7 changed files with 47 additions and 43 deletions

View file

@ -26,7 +26,7 @@ pub struct MegaMenu {
weight : Weight,
renderable: Renderable,
id : IdentifierValue,
items : VeckComponents<MegaItem>,
items : LisComponents<MegaItem>,
theme : MegaMenuTheme,
}
@ -153,12 +153,12 @@ impl MegaMenu {
}
pub fn with_item(mut self, item: MegaItem) -> Self {
self.items.alter(VeckOp::Add(ComponentOne::with(item)));
self.items.alter(LisOp::Add(ComponentOne::with(item)));
self
}
#[fn_builder]
pub fn alter_items(&mut self, op: VeckOp<MegaItem>) -> &mut Self {
pub fn alter_items(&mut self, op: LisOp<MegaItem>) -> &mut Self {
self.items.alter(op);
self
}
@ -171,7 +171,7 @@ impl MegaMenu {
// MegaMenu GETTERS.
pub fn items(&self) -> &VeckComponents<MegaItem> {
pub fn items(&self) -> &LisComponents<MegaItem> {
&self.items
}