💥 Better names for main macros

This commit is contained in:
Manuel Cillero 2023-07-15 11:34:28 +02:00
parent eee481cfcb
commit 6df57a0c12
44 changed files with 146 additions and 140 deletions

View file

@ -1,7 +1,7 @@
use pagetop::prelude::*;
use pagetop_jquery::JQuery;
use_handle!(COMPONENT_MEGAMENUITEM);
create_handle!(COMPONENT_MEGAMENUITEM);
type Label = OneComponent<L10n>;
type Content = OneComponent<L10n>;
@ -144,7 +144,7 @@ impl MegaMenuItem {
// MegaMenu.
use_handle!(COMPONENT_MEGAMENU);
create_handle!(COMPONENT_MEGAMENU);
actions_for_component!(MegaMenu);