use yew::prelude::*; use plate_tool_lib::plate_instances::PlateInstance; use plate_tool_lib::plate::PlateType; #[derive(PartialEq, Properties)] pub struct PlateProps { pub source_plate: PlateInstance, pub destination_plate: PlateInstance, pub cell_height: f64, pub ptype: PlateType, } pub type MStartHandle = UseStateHandle>; pub type MEndHandle = UseStateHandle>; pub type MStatHandle = UseStateHandle; #[derive(Debug)] pub enum MouseEventType { Mousedown, Mouseenter, }