💡 Corrige ejemplos de uso del componente Html
This commit is contained in:
parent
c680b94995
commit
126b31a7ed
1 changed files with 2 additions and 2 deletions
|
@ -74,12 +74,12 @@ impl InRegion {
|
||||||
/// use pagetop::prelude::*;
|
/// use pagetop::prelude::*;
|
||||||
///
|
///
|
||||||
/// // Banner global, en la región por defecto de cualquier página.
|
/// // Banner global, en la región por defecto de cualquier página.
|
||||||
/// InRegion::Content.add(Child::with(Html::with(
|
/// InRegion::Content.add(Child::with(Html::with(|_|
|
||||||
/// html! { ("🎉 ¡Bienvenido!") }
|
/// html! { ("🎉 ¡Bienvenido!") }
|
||||||
/// )));
|
/// )));
|
||||||
///
|
///
|
||||||
/// // Texto en la región "sidebar".
|
/// // Texto en la región "sidebar".
|
||||||
/// InRegion::Named("sidebar").add(Child::with(Html::with(
|
/// InRegion::Named("sidebar").add(Child::with(Html::with(|_|
|
||||||
/// html! { ("Publicidad") }
|
/// html! { ("Publicidad") }
|
||||||
/// )));
|
/// )));
|
||||||
/// ```
|
/// ```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue