📝 Evita en los ejemplos use pagetop::prelude::*;
This commit is contained in:
parent
8eafa436cd
commit
f25f62dd3c
21 changed files with 44 additions and 88 deletions
|
|
@ -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!") }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue