✨ Ahora Block es un componente base de PageTop
This commit is contained in:
parent
cb735cf0fa
commit
35c221f1f8
5 changed files with 12 additions and 11 deletions
|
|
@ -11,8 +11,6 @@ mod paragraph;
|
|||
pub use paragraph::{Paragraph, ParagraphDisplay, COMPONENT_PARAGRAPH};
|
||||
mod anchor;
|
||||
pub use anchor::{Anchor, AnchorTarget, AnchorType, COMPONENT_ANCHOR};
|
||||
mod block;
|
||||
pub use block::{Block, COMPONENT_BLOCK};
|
||||
mod image;
|
||||
pub use image::{Image, COMPONENT_IMAGE};
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1,5 @@
|
|||
mod l10n;
|
||||
pub use l10n::{L10n, COMPONENT_L10N};
|
||||
|
||||
mod block;
|
||||
pub use block::{Block, COMPONENT_BLOCK};
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
use pagetop::prelude::*;
|
||||
use crate::prelude::*;
|
||||
|
||||
define_handle!(COMPONENT_BLOCK);
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
use super::{ComponentTrait, ComponentsBundle};
|
||||
use crate::core::component::{ComponentTrait, ComponentsBundle};
|
||||
use crate::LazyStatic;
|
||||
|
||||
use std::collections::HashMap;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue