Actualiza estructura de archivos a nueva edición

This commit is contained in:
Manuel Cillero 2022-05-13 18:59:33 +02:00
parent 075c546fd5
commit 7d06cdec19
25 changed files with 35 additions and 30 deletions

View file

@ -0,0 +1,33 @@
mod hook;
pub use hook::{
BEFORE_RENDER_COMPONENT_HOOK,
BeforeRenderComponentHook,
};
mod assets;
pub use assets::{
Assets,
Favicon,
JavaScript, JSMode,
StyleSheet,
};
mod definition;
pub use definition::{
AnyComponent,
ComponentTrait,
component_ref,
component_mut,
};
use definition::render_component;
mod holder;
pub use holder::ComponentsHolder;
mod all;
pub use all::add_component_to;
pub(crate) use all::common_components;
pub fn render_always() -> bool { true }
pub fn render_never() -> bool { false }