🍻 Tercera revista a las traducciones por contexto
This commit is contained in:
parent
88d6ce2a72
commit
dd443ca375
21 changed files with 415 additions and 252 deletions
|
|
@ -1,7 +1,5 @@
|
|||
use pagetop::prelude::*;
|
||||
|
||||
use crate::component::Html;
|
||||
|
||||
define_handle!(COMPONENT_PARAGRAPH);
|
||||
|
||||
#[derive(Default)]
|
||||
|
|
@ -65,8 +63,8 @@ impl ComponentTrait for Paragraph {
|
|||
}
|
||||
|
||||
impl Paragraph {
|
||||
pub fn with(html: Markup) -> Self {
|
||||
Paragraph::new().with_component(Html::with(html))
|
||||
pub fn with(component: impl ComponentTrait) -> Self {
|
||||
Paragraph::new().with_component(component)
|
||||
}
|
||||
|
||||
// Paragraph BUILDER.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue