🔥 Refactor TypeId/Any use, drop own Handle

This commit is contained in:
Manuel Cillero 2024-02-16 17:00:34 +01:00
parent 8402b7946e
commit 169e562488
59 changed files with 137 additions and 289 deletions

View file

@ -1,5 +1,4 @@
use crate::prelude::*;
use crate::BaseHandle;
const IMG_FLUID: &str = "pt-img__fluid";
const IMG_FIXED: &str = "pt-img__fixed";
@ -15,7 +14,7 @@ pub enum ImageSize {
}
#[rustfmt::skip]
#[derive(BaseHandle, ComponentClasses, SmartDefault)]
#[derive(ComponentClasses, SmartDefault)]
pub struct Image {
id : OptionId,
weight : Weight,