📝 Evita en los ejemplos use pagetop::prelude::*;

This commit is contained in:
Manuel Cillero 2025-10-12 06:57:04 +02:00
parent 8eafa436cd
commit f25f62dd3c
21 changed files with 44 additions and 88 deletions

View file

@ -37,8 +37,7 @@ pub const REGION_CONTENT: &str = "content";
/// # Ejemplo
///
/// ```rust
/// use pagetop::prelude::*;
///
/// # use pagetop::prelude::*;
/// pub enum MyThemeRegion {
/// Header,
/// Content,
@ -134,8 +133,7 @@ impl InRegion {
/// # Ejemplo
///
/// ```rust
/// use pagetop::prelude::*;
///
/// # use pagetop::prelude::*;
/// // Banner global, en la región por defecto de cualquier página.
/// InRegion::Content.add(Child::with(Html::with(|_|
/// html! { ("🎉 ¡Bienvenido!") }