📝 Corrige ejemplo de documentación deOffcanvas

This commit is contained in:
Manuel Cillero 2025-11-02 20:47:26 +01:00
parent 41369be8c7
commit 93b669de43

View file

@ -13,7 +13,7 @@
//! .with_body_scroll(offcanvas::BodyScroll::Enabled)
//! .with_visibility(offcanvas::Visibility::Default)
//! .add_child(Dropdown::new()
//! .with_button_title(L10n::n("Menu"))
//! .with_title(L10n::n("Menu"))
//! .add_item(dropdown::Item::label(L10n::n("Label")))
//! .add_item(dropdown::Item::link_blank(L10n::n("Google"), |_| "https://www.google.es"))
//! .add_item(dropdown::Item::link(L10n::n("Sign out"), |_| "/signout"))